import type { SessionRecord } from "./types.js"; import type { RunResult, RunningProcess } from "./processRunner.js"; export declare function spawnCodexAppServerTurn(session: SessionRecord, prompt: string, turnOpts: { mode?: string; model?: string; }, onOutputDelta: (lines: number, bytes: number) => void, onFinished: (result: RunResult) => void): RunningProcess;