/** * v2 renderer entry point (V2-030/031/034). * * Assembles the composition root, creates the OpenTUI renderer in the alternate * screen, mounts the shell, and hands ownership to `RendererLifecycle` so * signals/errors tear the renderer down before the process exits. */ import type { Mode, ProviderId } from "../../types.js"; import { type ResumeTarget } from "../../ui-core/bootstrap/session-resume.js"; export interface StartTuiV2Options { readonly mode?: Mode | undefined; readonly provider?: ProviderId | undefined; readonly model?: string | undefined; readonly noHistory?: boolean | undefined; readonly resume?: ResumeTarget | undefined; } export declare function startTuiV2(options?: StartTuiV2Options): Promise;