/** Ask on stdin. Interactive TTYs and PIPED input both work (a piped line * answers the question — PR #491 review: a bare !isTTY guard wrongly rejected * pipes). What can no longer happen is the headless HANG (issue #490): when * stdin closes without delivering an answer (/dev/null, empty pipe), readline * fires 'close' with the question callback never run — we now reject on that, * in milliseconds, naming the flag to pass instead. Streams are injectable for * tests. */ export declare function promptText(question: string, input?: NodeJS.ReadableStream, output?: NodeJS.WritableStream): Promise; export declare function promptSelect(question: string, options: string[]): Promise; export declare function promptYesNo(question: string, def?: boolean): Promise; //# sourceMappingURL=prompts.d.ts.map