import type { DiscordInteraction, DiscordInteractionData } from '@discordeno/types'; import type Client from '../../Client.js'; import type { ApplicationCommandOptionChoice } from '../../typings.js'; import type NewsChannel from '../channels/News.js'; import type PrivateChannel from '../channels/Private.js'; import type TextChannel from '../channels/Text.js'; import type Guild from '../guilds/Guild.js'; import Member from '../guilds/Member.js'; import Permission from '../Permission.js'; import User from '../users/User.js'; import Interaction from './Interaction.js'; export declare class AutocompleteInteraction extends Interaction { /** The guild id if this interaction occurred in a guild. */ guildID?: string; /** The permissions the app or bot has within the channel, the interaction was sent from. */ appPermissions?: Permission; /** The channel id where this interaction was created in. */ channelID: string; /** The user who triggered the interaction. */ user: User; /** The data attached to this interaction. */ data?: DiscordInteractionData; /** The member who triggered the interaction. Sent when used in a guild. */ member?: Member; constructor(data: DiscordInteraction, client: Client); /** The channel the interaction was created in. */ get channel(): PrivateChannel | TextChannel | NewsChannel; /** The guild the interaction was created in. */ get guild(): Guild | undefined; acknowledge(choices: ApplicationCommandOptionChoice[]): Promise; result(choices: ApplicationCommandOptionChoice[]): Promise; } export default AutocompleteInteraction; //# sourceMappingURL=Autocomplete.d.ts.map