import * as p from "@clack/prompts"; import type { Readable, Writable } from "node:stream"; import type { Step } from "./plugins.js"; /** Streams the interactive UI reads and writes; swappable in tests. */ export interface PromptIO { input?: Readable; output?: Writable; } export declare function setPromptIO(next: PromptIO): void; export declare function promptIO(): PromptIO; export declare class SetupCancelled extends Error { constructor(); } export interface Choice { value: T; label: string; hint?: string; } export declare function pickMany(message: string, options: Choice[], initial: T[]): Promise; export declare function pickOne(message: string, options: Choice[], initial?: T): Promise; export declare function confirm(message: string): Promise; export declare const intro: (title: string) => void; export declare const outro: (message: string) => void; export declare const cancelled: (message: string) => void; export declare const note: (message: string, title: string) => void; export declare const spinner: () => p.SpinnerResult; /** `/home/me/.cursor/mcp.json` → `~/.cursor/mcp.json`. */ export declare function tildify(path: string): string; /** One agent's steps and notes, rendered under its spinner line. */ export declare function printSteps(steps: Step[], notes: string[]): void; export declare const dim: import("picocolors/types.js").Formatter; //# sourceMappingURL=ui.d.ts.map