import type { Readable, Writable } from "node:stream"; import type { WarningSink } from "./cli-helpers.js"; type InputValidator = (value: string) => boolean | string | Promise; export interface PromptModule { checkbox(options: { choices: Array<{ checked?: boolean; name: string; value: T; }>; message: string; }): Promise; confirm(options: { default?: boolean; message: string; }): Promise; input(options: { default?: string; message: string; validate?: InputValidator; }): Promise; select(options: { choices: Array<{ name: string; value: T; }>; default?: T; message: string; }): Promise; } export declare const loadPromptModule: (warn: WarningSink) => Promise; export declare const createFallbackPrompts: (input?: Readable, output?: Writable) => PromptModule; export {}; //# sourceMappingURL=prompts.d.ts.map