import { type InputDefinition } from './defs.js'; export type SelectDefOptions = { /** * A summary of the chosen item to display to the user in a list. * * If the choices are simple strings or numbers, the default is to display the string or * number. For complex choices, the default function uses the `name` field. */ summarizeForEdit?: (item: T, context?: unknown[]) => string; default?: T; helpText?: string; }; export type SelectDefChoice = string | number | { name: string; value: T; }; /** * InputDefinition for choosing a single item from a list. * * @param choices List of choices to present the user. * @param options See definition of `SelectDefOptions` for more details. */ export declare function selectDef(name: string, choices: SelectDefChoice[], options?: SelectDefOptions): InputDefinition; //# sourceMappingURL=select.d.ts.map