import type { ConfirmQuestion, MultiSelectQuestion, QuestionOptions, SelectChoice, SelectQuestion } from './types.ts'; export declare function select | MultiSelectQuestion | ConfirmQuestion, R = T extends SelectQuestion ? Choice['value'] : T extends MultiSelectQuestion ? Choice['value'][] : T extends ConfirmQuestion ? boolean : never>(question: T & { prefill: R | undefined; }, { stdin, stdout, onCancel }: QuestionOptions): Promise;