export type Answers = { readonly name: string; /** Undefined means "not now": no `.env` is written, and none is invented. */ readonly database: string | undefined; readonly studio: boolean; readonly pages: boolean; readonly mcp: boolean; }; /** Whatever the invocation already settled. Anything missing is asked for. */ export type Given = { readonly name?: string | undefined; readonly database?: string | undefined; readonly studio?: boolean | undefined; readonly pages?: boolean | undefined; readonly mcp?: boolean | undefined; }; export type PromptSession = { readonly input: NodeJS.ReadableStream; readonly output: NodeJS.WritableStream; /** Whether there is somebody there to answer. `--yes` makes this false. */ readonly interactive: boolean; }; /** SPEC.md §78: Studio, Pages and MCP are all in unless the answer is no. */ export declare const DEFAULT_ANSWERS: { readonly studio: true; readonly pages: true; readonly mcp: true; }; /** * The answers, asked for or assumed. * * A `name` that arrived as an argument is not asked for again, and neither is * anything a flag already settled — the minimum SPEC.md §78 asks for is the minimum * that is still unknown. */ export declare const ask: (given: Given, session: PromptSession) => Promise; //# sourceMappingURL=prompts.d.ts.map