import { type CodexAppServerRunOptions, type CodexAppServerRunResult, type CodexAppServerStatus } from "./codex-app-server.js"; export declare const CODEX_APP_SERVER_UI_SCHEMA = "humanish.codex-app-server-ui.v1"; type CodexAppServerUiStatus = "starting" | "running" | CodexAppServerStatus; export interface CodexAppServerUiOptions { actorCommand?: string; cwd: string; keepOpen?: boolean; model?: string; port?: number; prompt: string; runRoot?: string; sandbox?: CodexAppServerRunOptions["sandbox"]; serviceName?: string; stateFile?: string; timeoutMs: number; } export interface CodexAppServerUiState { schema: typeof CODEX_APP_SERVER_UI_SCHEMA; artifactRoot: string; cwd: string; promptDigest: string; reason: string; result?: CodexAppServerRunResult; runRoot: string; startedAt: string; status: CodexAppServerUiStatus; stateFile: string; updatedAt: string; url?: string; } export interface CodexAppServerUiController { close(): Promise; completion: Promise; initialState: CodexAppServerUiState; stateFile: string; url: string; } export declare function startCodexAppServerUi(options: CodexAppServerUiOptions): Promise; export {};