export interface Prompter { text(opts: { message: string; placeholder?: string; defaultValue?: string; validate?: (value: string) => string | undefined; }): Promise; /** * Password prompt. The optional `validate` callback returns an error string * to keep the prompt re-prompting the same field, or `undefined` when the * value is acceptable. Mirrors `@clack/prompts` semantics — failed * validation does NOT count as a cancel, the user gets another try. */ password(opts: { message: string; validate?: (value: string) => string | undefined; }): Promise; select(opts: { message: string; options: { value: T; label: string; hint?: string; }[]; }): Promise; confirm(opts: { message: string; defaultValue?: boolean; }): Promise; spinner(): { start(msg: string): void; stop(msg?: string): void; }; intro(msg: string): void; outro(msg: string): void; note(body: string, title?: string): void; cancel(msg: string): never; } export declare function createPrompter(opts?: { yes?: boolean; }): Prompter; //# sourceMappingURL=prompts.d.ts.map