/************************** * Veryfront CLI TUI * Shared UI for new/dev commands with collapsible logs **************************/ export interface TuiConfig { title?: string; subtitle?: string; showLogs?: boolean; } export interface TuiState { status: string; statusType: "loading" | "success" | "error" | "info"; steps: { label: string; done: boolean; }[]; currentStep: number; info: Record; logs: string[]; logsExpanded: boolean; logScroll: number; } export declare function createTui(cfg?: TuiConfig): { setInfo: (info: Record) => void; setSteps: (steps: string[]) => void; completeStep: () => void; setStatus: (status: string, type?: TuiState["statusType"]) => void; addLog: (msg: string) => void; toggleLogs: () => void; scrollLogs: (dir: "up" | "down") => void; cleanup: () => void; render: () => void; }; export type Tui = ReturnType; export declare function interceptConsole(tui: Tui): () => void; export declare function handleInput(tui: Tui, opts: { onEnter?: () => void; onExit?: () => void; }): Promise; //# sourceMappingURL=tui.d.ts.map