/**
 * codex.ts — OpenAI Codex CLI headless invoker.
 *
 * Spawns:  codex exec "<prompt>"
 * Parses:  Text output with interspersed JSON frames delimited by lines that
 *          start with "{" and are valid JSON objects.
 *
 * Known frame shapes (from codex CLI v0.1+):
 *   { event: 'tool_call', tool, args }
 *   { event: 'token_usage', prompt_tokens, completion_tokens }
 *   { event: 'done', exit_code }
 */
import type { AgentInvoker, DispatchRequest, DispatchHandle } from './types.js';
export declare class CodexInvoker implements AgentInvoker {
    readonly id: "codex";
    readonly label = "Codex CLI";
    private _version;
    isAvailable(): Promise<boolean>;
    getVersion(): Promise<string | null>;
    dispatch(req: DispatchRequest): Promise<DispatchHandle>;
}
