/**
 * @see {@link https://discord.com/developers/docs/topics/opcodes-and-status-codes#json-json-error-codes}
 */
export declare enum RESTJSONErrorCodes {
    GeneralError = 0,
    UnknownAccount = 10001,
    UnknownApplication = 10002,
    UnknownChannel = 10003,
    UnknownGuild = 10004,
    UnknownIntegration = 10005,
    UnknownInvite = 10006,
    UnknownMember = 10007,
    UnknownMessage = 10008,
    UnknownPermissionOverwrite = 10009,
    UnknownProvider = 10010,
    UnknownRole = 10011,
    UnknownToken = 10012,
    UnknownUser = 10013,
    UnknownEmoji = 10014,
    UnknownWebhook = 10015,
    UnknownWebhookService = 10016,
    UnknownSession = 10020,
    UnknownAsset = 10021,
    UnknownBan = 10026,
    UnknownSKU = 10027,
    UnknownStoreListing = 10028,
    UnknownEntitlement = 10029,
    UnknownBuild = 10030,
    UnknownLobby = 10031,
    UnknownBranch = 10032,
    UnknownStoreDirectoryLayout = 10033,
    UnknownRedistributable = 10036,
    UnknownGiftCode = 10038,
    UnknownStream = 10049,
    UnknownPremiumServerSubscribeCooldown = 10050,
    UnknownGuildTemplate = 10057,
    UnknownDiscoverableServerCategory = 10059,
    UnknownSticker = 10060,
    UnknownStickerPack = 10061,
    UnknownInteraction = 10062,
    UnknownApplicationCommand = 10063,
    UnknownVoiceState = 10065,
    UnknownApplicationCommandPermissions = 10066,
    UnknownStageInstance = 10067,
    UnknownGuildMemberVerificationForm = 10068,
    UnknownGuildWelcomeScreen = 10069,
    UnknownGuildScheduledEvent = 10070,
    UnknownGuildScheduledEventUser = 10071,
    UnknownTag = 10087,
    UnknownSound = 10097,
    BotsCannotUseThisEndpoint = 20001,
    OnlyBotsCanUseThisEndpoint = 20002,
    ExplicitContentCannotBeSentToTheDesiredRecipient = 20009,
    NotAuthorizedToPerformThisActionOnThisApplication = 20012,
    ActionCannotBePerformedDueToSlowmodeRateLimit = 20016,
    TheMazeIsntMeantForYou = 20017,
    OnlyTheOwnerOfThisAccountCanPerformThisAction = 20018,
    AnnouncementEditLimitExceeded = 20022,
    UnderMinimumAge = 20024,
    ChannelWriteRateLimit = 20028,
    /**
     * @deprecated Use {@link RESTJSONErrorCodes.ChannelWriteRateLimit} instead
     */
    ChannelSendRateLimit = 20028,
    ServerWriteRateLimit = 20029,
    /**
     * @deprecated Use {@link RESTJSONErrorCodes.ServerWriteRateLimit} instead
     */
    ServerSendRateLimit = 20029,
    StageTopicServerNameServerDescriptionOrChannelNamesContainDisallowedWords = 20031,
    GuildPremiumSubscriptionLevelTooLow = 20035,
    MaximumNumberOfGuildsReached = 30001,
    MaximumNumberOfFriendsReached = 30002,
    MaximumNumberOfPinsReachedForTheChannel = 30003,
    MaximumNumberOfRecipientsReached = 30004,
    MaximumNumberOfGuildRolesReached = 30005,
    MaximumNumberOfWebhooksReached = 30007,
    MaximumNumberOfEmojisReached = 30008,
    MaximumNumberOfReactionsReached = 30010,
    MaximumNumberOfGroupDMsReached = 30011,
    MaximumNumberOfGuildChannelsReached = 30013,
    MaximumNumberOfAttachmentsInAMessageReached = 30015,
    MaximumNumberOfInvitesReached = 30016,
    MaximumNumberOfAnimatedEmojisReached = 30018,
    MaximumNumberOfServerMembersReached = 30019,
    MaximumNumberOfServerCategoriesReached = 30030,
    GuildAlreadyHasTemplate = 30031,
    MaximumNumberOfApplicationCommandsReached = 30032,
    MaximumThreadParticipantsReached = 30033,
    MaximumDailyApplicationCommandCreatesReached = 30034,
    MaximumNumberOfNonGuildMemberBansHasBeenExceeded = 30035,
    MaximumNumberOfBanFetchesHasBeenReached = 30037,
    MaximumNumberOfUncompletedGuildScheduledEventsReached = 30038,
    MaximumNumberOfStickersReached = 30039,
    MaximumNumberOfPruneRequestsHasBeenReached = 30040,
    MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached = 30042,
    MaximumNumberOfSoundboardSoundsReached = 30045,
    MaximumNumberOfEditsToMessagesOlderThanOneHourReached = 30046,
    MaximumNumberOfPinnedThreadsInForumHasBeenReached = 30047,
    MaximumNumberOfTagsInForumHasBeenReached = 30048,
    BitrateIsTooHighForChannelOfThisType = 30052,
    MaximumNumberOfPremiumEmojisReached = 30056,
    MaximumNumberOfWebhooksPerGuildReached = 30058,
    MaximumNumberOfChannelPermissionOverwritesReached = 30060,
    TheChannelsForThisGuildAreTooLarge = 30061,
    Unauthorized = 40001,
    VerifyYourAccount = 40002,
    OpeningDirectMessagesTooFast = 40003,
    SendMessagesHasBeenTemporarilyDisabled = 40004,
    RequestEntityTooLarge = 40005,
    FeatureTemporarilyDisabledServerSide = 40006,
    UserBannedFromThisGuild = 40007,
    ConnectionHasBeenRevoked = 40012,
    OnlyConsumableSKUsCanBeConsumed = 40018,
    YouCanOnlyDeleteSandboxEntitlements = 40019,
    TargetUserIsNotConnectedToVoice = 40032,
    ThisMessageWasAlreadyCrossposted = 40033,
    ApplicationCommandWithThatNameAlreadyExists = 40041,
    ApplicationInteractionFailedToSend = 40043,
    CannotSendAMessageInAForumChannel = 40058,
    InteractionHasAlreadyBeenAcknowledged = 40060,
    TagNamesMustBeUnique = 40061,
    ServiceResourceIsBeingRateLimited = 40062,
    ThereAreNoTagsAvailableThatCanBeSetByNonModerators = 40066,
    TagRequiredToCreateAForumPostInThisChannel = 40067,
    AnEntitlementHasAlreadyBeenGrantedForThisResource = 40074,
    ThisInteractionHasHitTheMaximumNumberOfFollowUpMessages = 40094,
    CloudflareIsBlockingYourRequest = 40333,
    MissingAccess = 50001,
    InvalidAccountType = 50002,
    CannotExecuteActionOnDMChannel = 50003,
    GuildWidgetDisabled = 50004,
    CannotEditMessageAuthoredByAnotherUser = 50005,
    CannotSendAnEmptyMessage = 50006,
    /**
     * @see {@link RESTJSONErrorCodes.CannotSendMessagesToThisUserDueToHavingNoMutualGuilds} for a similar error code
     */
    CannotSendMessagesToThisUser = 50007,
    CannotSendMessagesInNonTextChannel = 50008,
    ChannelVerificationLevelTooHighForYouToGainAccess = 50009,
    OAuth2ApplicationDoesNotHaveBot = 50010,
    OAuth2ApplicationLimitReached = 50011,
    InvalidOAuth2State = 50012,
    MissingPermissions = 50013,
    InvalidToken = 50014,
    NoteWasTooLong = 50015,
    ProvidedTooFewOrTooManyMessagesToDelete = 50016,
    InvalidMFALevel = 50017,
    MessageCanOnlyBePinnedInTheChannelItWasSentIn = 50019,
    InviteCodeInvalidOrTaken = 50020,
    CannotExecuteActionOnSystemMessage = 50021,
    CannotExecuteActionOnThisChannelType = 50024,
    InvalidOAuth2AccessToken = 50025,
    MissingRequiredOAuth2Scope = 50026,
    InvalidWebhookToken = 50027,
    InvalidRole = 50028,
    InvalidRecipients = 50033,
    OneOfTheMessagesProvidedWasTooOldForBulkDelete = 50034,
    InvalidFormBodyOrContentType = 50035,
    InviteAcceptedToGuildWithoutTheBotBeingIn = 50036,
    InvalidActivityAction = 50039,
    InvalidAPIVersion = 50041,
    FileUploadedExceedsMaximumSize = 50045,
    InvalidFileUploaded = 50046,
    CannotSelfRedeemThisGift = 50054,
    InvalidGuild = 50055,
    InvalidSKU = 50057,
    InvalidRequestOrigin = 50067,
    InvalidMessageType = 50068,
    PaymentSourceRequiredToRedeemGift = 50070,
    CannotModifyASystemWebhook = 50073,
    CannotDeleteChannelRequiredForCommunityGuilds = 50074,
    CannotEditStickersWithinMessage = 50080,
    InvalidStickerSent = 50081,
    InvalidActionOnArchivedThread = 50083,
    InvalidThreadNotificationSettings = 50084,
    ParameterEarlierThanCreation = 50085,
    CommunityServerChannelsMustBeTextChannels = 50086,
    TheEntityTypeOfTheEventIsDifferentFromTheEntityYouAreTryingToStartTheEventFor = 50091,
    ServerNotAvailableInYourLocation = 50095,
    ServerNeedsMonetizationEnabledToPerformThisAction = 50097,
    ServerNeedsMoreBoostsToPerformThisAction = 50101,
    RequestBodyContainsInvalidJSON = 50109,
    ProvidedFileIsInvalid = 50110,
    ProvidedFileTypeIsInvalid = 50123,
    ProvidedFileDurationExceedsMaximumLength = 50124,
    OwnerCannotBePendingMember = 50131,
    OwnershipCannotBeMovedToABotUser = 50132,
    FailedToResizeAssetBelowTheMaximumSize = 50138,
    /**
     * @deprecated This name is incorrect. Use {@link RESTJSONErrorCodes.FailedToResizeAssetBelowTheMaximumSize} instead
     */
    FailedToResizeAssetBelowTheMinimumSize = 50138,
    CannotMixSubscriptionAndNonSubscriptionRolesForAnEmoji = 50144,
    CannotConvertBetweenPremiumEmojiAndNormalEmoji = 50145,
    UploadedFileNotFound = 50146,
    SpecifiedEmojiIsInvalid = 50151,
    VoiceMessagesDoNotSupportAdditionalContent = 50159,
    VoiceMessagesMustHaveASingleAudioAttachment = 50160,
    VoiceMessagesMustHaveSupportingMetadata = 50161,
    VoiceMessagesCannotBeEdited = 50162,
    CannotDeleteGuildSubscriptionIntegration = 50163,
    YouCannotSendVoiceMessagesInThisChannel = 50173,
    TheUserAccountMustFirstBeVerified = 50178,
    ProvidedFileDoesNotHaveAValidDuration = 50192,
    /**
     * @see {@link RESTJSONErrorCodes.CannotSendMessagesToThisUser} for a similar error code
     */
    CannotSendMessagesToThisUserDueToHavingNoMutualGuilds = 50278,
    YouDoNotHavePermissionToSendThisSticker = 50600,
    TwoFactorAuthenticationIsRequired = 60003,
    NoUsersWithDiscordTagExist = 80004,
    ReactionWasBlocked = 90001,
    UserCannotUseBurstReactions = 90002,
    IndexNotYetAvailable = 110000,
    ApplicationNotYetAvailable = 110001,
    APIResourceOverloaded = 130000,
    TheStageIsAlreadyOpen = 150006,
    CannotReplyWithoutPermissionToReadMessageHistory = 160002,
    ThreadAlreadyCreatedForMessage = 160004,
    ThreadLocked = 160005,
    MaximumActiveThreads = 160006,
    MaximumActiveAnnouncementThreads = 160007,
    CannotForwardMessageWithUnreadableContent = 160014,
    InvalidJSONForUploadedLottieFile = 170001,
    UploadedLottiesCannotContainRasterizedImages = 170002,
    StickerMaximumFramerateExceeded = 170003,
    StickerFrameCountExceedsMaximumOf1000Frames = 170004,
    LottieAnimationMaximumDimensionsExceeded = 170005,
    StickerFramerateIsTooSmallOrTooLarge = 170006,
    StickerAnimationDurationExceedsMaximumOf5Seconds = 170007,
    CannotUpdateAFinishedEvent = 180000,
    FailedToCreateStageNeededForStageEvent = 180002,
    MessageWasBlockedByAutomaticModeration = 200000,
    TitleWasBlockedByAutomaticModeration = 200001,
    WebhooksPostedToForumChannelsMustHaveAThreadNameOrThreadId = 220001,
    WebhooksPostedToForumChannelsCannotHaveBothAThreadNameAndThreadId = 220002,
    WebhooksCanOnlyCreateThreadsInForumChannels = 220003,
    WebhookServicesCannotBeUsedInForumChannels = 220004,
    MessageBlockedByHarmfulLinksFilter = 240000,
    CannotEnableOnboardingRequirementsAreNotMet = 350000,
    CannotUpdateOnboardingWhileBelowRequirements = 350001,
    AccessToFileUploadsHasBeenLimitedForThisGuild = 400001,
    FailedToBanUsers = 500000,
    PollVotingBlocked = 520000,
    PollExpired = 520001,
    InvalidChannelTypeForPollCreation = 520002,
    CannotEditAPollMessage = 520003,
    CannotUseAnEmojiIncludedWithThePoll = 520004,
    CannotExpireANonPollMessage = 520006,
    ProvisionalAccountsPermissionNotGranted = 530000,
    IdTokenJWTExpired = 530001,
    IdTokenJWTIssuerMismatch = 530002,
    IdTokenJWTAudienceMismatch = 530003,
    IdTokenJWTIssuedTooLongAgo = 530004,
    FailedToGenerateUniqueUsername = 530006,
    InvalidClientSecret = 530007
}
/**
 * JSON Error Codes that represent "Cannot send messages to this user".
 * Discord uses two different error codes for this error:
 * - {@link RESTJSONErrorCodes.CannotSendMessagesToThisUser} (50_007)
 * - {@link RESTJSONErrorCodes.CannotSendMessagesToThisUserDueToHavingNoMutualGuilds} (50_278)
 */
export declare const CannotSendMessagesToThisUserErrorCodes: readonly [RESTJSONErrorCodes.CannotSendMessagesToThisUser, RESTJSONErrorCodes.CannotSendMessagesToThisUserDueToHavingNoMutualGuilds];
/**
 * @see {@link https://discord.com/developers/docs/reference#locales}
 */
export declare enum Locale {
    Indonesian = "id",
    EnglishUS = "en-US",
    EnglishGB = "en-GB",
    Bulgarian = "bg",
    ChineseCN = "zh-CN",
    ChineseTW = "zh-TW",
    Croatian = "hr",
    Czech = "cs",
    Danish = "da",
    Dutch = "nl",
    Finnish = "fi",
    French = "fr",
    German = "de",
    Greek = "el",
    Hindi = "hi",
    Hungarian = "hu",
    Italian = "it",
    Japanese = "ja",
    Korean = "ko",
    Lithuanian = "lt",
    Norwegian = "no",
    Polish = "pl",
    PortugueseBR = "pt-BR",
    Romanian = "ro",
    Russian = "ru",
    SpanishES = "es-ES",
    SpanishLATAM = "es-419",
    Swedish = "sv-SE",
    Thai = "th",
    Turkish = "tr",
    Ukrainian = "uk",
    Vietnamese = "vi"
}
/**
 * @deprecated Use {@link Locale} instead.
 */
export type LocaleString = `${Locale}`;
//# sourceMappingURL=common.d.ts.map