import type { DevBootProgressReporter } from "#internal/dev-boot-progress.js"; import type { TuiDisplayOptions } from "./types.js"; /** * Options for running the `eve dev` terminal UI against a server URL. */ export interface RunDevelopmentTuiInput extends TuiDisplayOptions { /** * The eve server URL the TUI connects to — either the in-process dev * server started by `eve dev`, or a remote `--url` target. */ readonly serverUrl: string; /** * Absolute application root. When present and the server is a local dev * server, enables the TUI's `/model` command to edit local agent source. * Omitted for remote (`--url`) targets. */ readonly appRoot?: string; /** * Text to seed the prompt input with after the UI launches. The buffer is * editable and is not auto-submitted — the user presses Enter to send it. * Applies to the first prompt only. */ readonly initialInput?: string; /** Reports local CLI boot phases. Omitted for remote and programmatic TUI runs. */ readonly onBootProgress?: DevBootProgressReporter; } /** * Runs the `eve dev` terminal UI against the given server URL until the * user exits. * * The configured client is handed to the runner so its subagent * child-session streams inherit the same auth. Turn-dispatch failures — * including the Vercel Deployment Protection challenge — are formatted into * the inline error region rather than crashing the command. */ export declare function runDevelopmentTui(input: RunDevelopmentTuiInput): Promise;