import { APIApplicationCommandChannelOption, ApplicationCommandOptionType, ChannelType } from "discord-api-types/v10"; import { SlashCommandOptionBase } from "./SlashCommandOptionBase.js"; export declare const AllowedChannelTypes: readonly [ChannelType.GuildText, ChannelType.GuildVoice, ChannelType.GuildCategory, ChannelType.GuildAnnouncement, ChannelType.AnnouncementThread, ChannelType.PublicThread, ChannelType.PrivateThread, ChannelType.GuildStageVoice]; export declare type ApplicationCommandOptionAllowedChannelTypes = typeof AllowedChannelTypes[number]; export declare class SlashCommandChannelOption extends SlashCommandOptionBase { readonly type: ApplicationCommandOptionType.Channel; channel_types?: ApplicationCommandOptionAllowedChannelTypes[]; /** * Adds channel types to this option * * @param channelTypes The channel types to add */ addChannelTypes(...channelTypes: ApplicationCommandOptionAllowedChannelTypes[]): this; toJSON(): APIApplicationCommandChannelOption; }