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