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