/** * TUI public entry — lazy-loaded by `src/adapters/cli/index.ts` only when * `resolveLaunchMode(options) === 'interactive'`. Headless / piped / --docker * modes never import this module, so React/Ink stay out of memory there. * * The `.tsx` extension is required (the file contains JSX); the lazy import * specifier `./tui/index.js` resolves to this source under `tsx` dev mode and * to the compiled `dist/adapters/cli/tui/index.js` under `tsc`. */ export interface StartTuiArgs { queryParts: string[]; options: any; } /** * Run the shared session setup (same bootstrap as the readline REPL), build the * shared command registry, then render the full-screen Ink TUI. `exitOnCtrlC` * is false so the app owns Ctrl+C (abort mid-run, exit when idle) per FR-006. */ export declare function startTui({ queryParts, options }: StartTuiArgs): Promise;