import type { AutocompleteInteraction, CacheType } from 'discord.js'; import { Context, ContextOptions } from './Context'; import type { GClient } from '../../GClient'; import type { Argument, ArgumentChoice, ArgumentOptions } from '../Argument'; import type { Command } from '../Command'; export interface AutocompleteContextOptions extends ContextOptions { interaction: AutocompleteInteraction; command: Command; argument: Argument | ArgumentOptions; value: string | number; respond: (choices: Array) => Promise; } export declare class AutocompleteContext extends Context { interaction: AutocompleteInteraction; readonly command: Command; readonly commandName: string; readonly argument: Argument | ArgumentOptions; readonly argumentName: string; readonly value: string | number; respond: (choices: Array) => Promise; inGuild: () => this is AutocompleteContext<'raw' | 'cached'>; inCachedGuild: () => this is AutocompleteContext<'cached'>; inRawGuild: () => this is AutocompleteContext<'raw'>; constructor(client: GClient, options: AutocompleteContextOptions); } //# sourceMappingURL=AutocompleteContext.d.ts.map