/** * StdinPrompt is the real PromptPort: it prints a question and reads the answer * from stdin. `confirm` treats anything not starting with "y" as a decline, so a * bare Enter is a safe default-no — matching StdinGate's posture. `select` * prints a numbered menu and reads a choice; a bare Enter (or any unrecognised * input) selects the first option, which callers pass as the safe default. * * Used only by `diablo init`; validated by the live init path, not unit tests * (the decision logic lives in init-diablo, tested against a fake prompt). */ import type { PromptPort } from "../ports/prompt.ts"; export declare class StdinPrompt implements PromptPort { confirm(question: string): Promise; select(question: string, options: readonly string[]): Promise; ask(question: string): Promise; }