import type { BackendDriver, DriverMessageInput, DriverSession, StartDriverSessionInput } from './driver.js'; import type { SupenDriverOutput } from '../types.js'; import { CodexAppServerHost } from '../../core/codex-app-server-host.js'; type CodexAppServerHostFactory = () => CodexAppServerHost; export declare function buildTurnInput(message: DriverMessageInput): Array>; export declare function buildDeveloperInstructionItem(text: string): Record; export type CodexAppServerThreadCreateInput = Pick; export declare function createCodexAppServerThread(input: CodexAppServerThreadCreateInput): Promise; export declare class CodexAppServerDriver implements BackendDriver { private readonly createClient; readonly id = "codex-app-server"; constructor(createClient?: CodexAppServerHostFactory); startThread(input: StartDriverSessionInput): Promise; normalizeOutput(input: { threadId: string; turnId: string; output: Record; }): SupenDriverOutput[]; } export {}; //# sourceMappingURL=codex-app-server-driver.d.ts.map