import { APIApplicationCommandOptionChoice, APIApplicationCommandStringOption, ApplicationCommandOptionType } from "discord-api-types/v10"; import { SlashCommandOptionBase } from "./SlashCommandOptionBase.js"; export declare class SlashCommandStringOption extends SlashCommandOptionBase { type: ApplicationCommandOptionType.String; choices?: APIApplicationCommandOptionChoice[]; autocomplete?: boolean; min_length?: number; max_length?: number; /** * Adds multiple choices for this option * * @param choices The choices to add */ addChoices(...choices: APIApplicationCommandOptionChoice[]): this; setChoices[]>(...choices: Input): this; /** * Marks the option as autocompletable * @param autocomplete If this option should be autocompletable */ setAutocomplete(autocomplete: boolean): this; setMinLength(minLength: number): this; setMaxLength(maxLength: number): this; toJSON(): APIApplicationCommandStringOption; }