import { type APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper } from "https://deno.land/x/discord_api_types@0.37.65/payloads/v10/mod.ts";
Type Parameters
Base extends APIApplicationCommandOptionBase<ApplicationCommandOptionType>
ChoiceType extends APIApplicationCommandOptionChoice
definition: (Base & { autocomplete: true; choices?: []; }) | (Base & { autocomplete?: false; choices?: ChoiceType[]; })