export interface CDNRoutesDeclarationsexternal achievementIcon<Format extends AchievementIconFormat
>() : `/app-assets/${string}/achievements/${string}/icons/${string}.${Format}`
Format extends AchievementIconFormat
Route for: - GET /app-assets/{application.id}/achievements/{achievement.id}/icons/{achievement.icon}.{png|jpeg|webp}This route supports the extensions: PNG, JPEG, WebP
external applicationAsset<Format extends ApplicationAssetFormat
>() : `/app-assets/${string}/${string}.${Format}`
Format extends ApplicationAssetFormat
Route for: - GET /app-assets/{application.id}/{application.asset_id}.{png|jpeg|webp}This route supports the extensions: PNG, JPEG, WebP
external applicationCover<Format extends ApplicationCoverFormat
>() : `/app-icons/${string}/${string}.${Format}`
Format extends ApplicationCoverFormat
Route for: - GET /app-icons/{application.id}/{application.cover_image}.{png|jpeg|webp}This route supports the extensions: PNG, JPEG, WebP
external applicationIcon<Format extends ApplicationIconFormat
>() : `/app-icons/${string}/${string}.${Format}`
Format extends ApplicationIconFormat
Route for: - GET /app-icons/{application.id}/{application.icon}.{png|jpeg|webp}This route supports the extensions: PNG, JPEG, WebP
external avatarDecoration(avatarDecorationDataAsset: string) : `/avatar-decoration-presets/${string}.png`
Route for: - GET /avatar-decoration-presets/{avatar_decoration_data_asset}.pngThis route supports the extension: PNG
external defaultUserAvatar<Index extends DefaultUserAvatarAssets
>(index: Index) : `/embed/avatars/${Index}.png`
Index extends DefaultUserAvatarAssets
Route for: - GET /embed/avatars/{index}.pngThe value for index parameter depends on whether the user is migrated to the new username system. For users on the new username system, index will be (user.id >> 22) % 6. For users on the legacy username system, index will be user.discriminator % 5.This route supports the extension: PNG
external emoji<Format extends EmojiFormat
>(emojiId: Snowflakeformat: Format) : `/emojis/${string}.${Format}`
Format extends EmojiFormat
Route for: - GET /emojis/{emoji.id}.{png|jpeg|webp|gif}As this route supports GIFs, the hash will begin with a_ if it is available in GIF formatThis route supports the extensions: PNG, JPEG, WebP, GIF
external guildBanner<Format extends GuildBannerFormat
>() : `/banners/${string}/${string}.${Format}`
Format extends GuildBannerFormat
Route for: - GET /banners/{guild.id}/{guild.banner}.{png|jpeg|webp|gif}As this route supports GIFs, the hash will begin with a_ if it is available in GIF formatThis route supports the extensions: PNG, JPEG, WebP, GIF
external guildDiscoverySplash<Format extends GuildDiscoverySplashFormat
>() : `/discovery-splashes/${string}/${string}.${Format}`
Format extends GuildDiscoverySplashFormat
Route for: - GET /discovery-splashes/{guild.id}/{guild.discovery_splash}.{png|jpeg|webp}This route supports the extensions: PNG, JPEG, WebP
external guildIcon<Format extends GuildIconFormat
>() : `/icons/${string}/${string}.${Format}`
Format extends GuildIconFormat
Route for: - GET /icons/{guild.id}/{guild.icon}.{png|jpeg|webp|gif}As this route supports GIFs, the hash will begin with a_ if it is available in GIF formatThis route supports the extensions: PNG, JPEG, WebP, GIF
external guildMemberAvatar<Format extends GuildMemberAvatarFormat
>() : `/guilds/${string}/users/${string}/avatars/${string}.${Format}`
Format extends GuildMemberAvatarFormat
Route for: - GET /guilds/{guild.id}/users/{user.id}/avatars/{guild_member.avatar}.{png|jpeg|webp|gif}As this route supports GIFs, the hash will begin with a_ if it is available in GIF formatThis route supports the extensions: PNG, JPEG, WebP, GIF
external guildMemberBanner<Format extends GuildMemberBannerFormat
>() : `/guilds/${string}/users/${string}/banners/${string}.${Format}`
Format extends GuildMemberBannerFormat
Route for: - GET /guilds/${guild.id}/users/${user.id}/banners/${guild_member.banner}.{png|jpeg|webp|gif}This route supports the extensions: PNG, JPEG, WebP, GIF
external guildScheduledEventCover<Format extends GuildScheduledEventCoverFormat
>() : `/guild-events/${string}/${string}.${Format}`
Format extends GuildScheduledEventCoverFormat
Route for: - GET /guild-events/{guild_scheduled_event.id}/{guild_scheduled_event.image}.{png|jpeg|webp}This route supports the extensions: PNG, JPEG, WebP
external guildSplash<Format extends GuildSplashFormat
>() : `/splashes/${string}/${string}.${Format}`
Format extends GuildSplashFormat
Route for: - GET /splashes/{guild.id}/{guild.splash}.{png|jpeg|webp}This route supports the extensions: PNG, JPEG, WebP
external guildTagBadge<Format extends GuildTagBadgeFormat
>() : `/guild-tag-badges/${string}/${string}.${Format}`
Format extends GuildTagBadgeFormat
Route for: - GET /guild-tag-badges/{guild.id}/{badge}.{png|jpeg|webp}This route supports the extensions: PNG, JPEG, WebP
external roleIcon<Format extends RoleIconFormat
>() : `/role-icons/${string}/${string}.${Format}`
Format extends RoleIconFormat
Route for: - GET /role-icons/{role.id}/{role.icon}.{png|jpeg|webp}This route supports the extensions: PNG, JPEG, WebP
Route for: - GET /soundboard-sounds/${sound.id}
external sticker<Format extends StickerFormat
>(stickerId: Snowflakeformat: Format) : `/stickers/${string}.${Format}`
Format extends StickerFormat
Route for: - GET /stickers/{sticker.id}.{png|json}This route supports the extensions: PNG, Lottie, GIF
external stickerPackBanner<Format extends StickerPackBannerFormat
>(stickerPackBannerAssetId: Snowflakeformat: Format) : `/app-assets/710982414301790216/store/${string}.${Format}`
Format extends StickerPackBannerFormat
Route for: - GET /app-assets/710982414301790216/store/{sticker_pack.banner.asset_id}.{png|jpeg|webp}This route supports the extensions: PNG, JPEG, WebP
external storePageAsset<Format? extends StorePageAssetFormat = ImageFormat.PNG
>() : `/app-assets/${string}/store/${string}.${Format}`
Format? extends StorePageAssetFormat = ImageFormat.PNG
Route for: - GET /app-assets/${application.id}/store/${asset.id}.{png|jpeg|webp}}This route supports the extensions: PNG, JPEG, WebP
external teamIcon<Format extends TeamIconFormat
>() : `/team-icons/${string}/${string}.${Format}`
Format extends TeamIconFormat
Route for: - GET /team-icons/{team.id}/{team.icon}.{png|jpeg|webp}This route supports the extensions: PNG, JPEG, WebP
external userAvatar<Format extends UserAvatarFormat
>() : `/avatars/${string}/${string}.${Format}`
Format extends UserAvatarFormat
Route for: - GET /avatars/{user.id}/{user.avatar}.{png|jpeg|webp|gif}As this route supports GIFs, the hash will begin with a_ if it is available in GIF formatThis route supports the extensions: PNG, JPEG, WebP, GIF
Use avatarDecoration instead.
Route for: - GET /avatar-decorations/{user.id}/{user.avatar_decoration}.pngThis route supports the extension: PNG
external userBanner<Format extends UserBannerFormat
>() : `/banners/${string}/${string}.${Format}`
Format extends UserBannerFormat
Route for: - GET /banners/{user.id}/{user.banner}.{png|jpeg|webp|gif}As this route supports GIFs, the hash will begin with a_ if it is available in GIF formatThis route supports the extensions: PNG, JPEG, WebP, GIF