import { type CodexCliAdapterOptions as LegacyCodexCliAdapterOptions } from "./claude-cli.js"; import { type CodexAutonomyResolution, type CodexCapabilityProfile } from "./codex-launcher.js"; export interface CodexCliAdapterOptions extends Omit { /** Exact resolved executable selected by the Codex launch probe. */ command?: string; /** * Optional pre-probed capability profile. Production callers normally omit * this because probeCodexCapabilities caches profiles by exact binary path * for the process lifetime. Exposed for deterministic integrations/tests. */ capabilityProfile?: CodexCapabilityProfile; autonomyResolution?: CodexAutonomyResolution; } /** * Capability-driven Codex CLI adapter. * * Provider identity remains `codex` even when doctor/preflight selected an * absolute native binary or npm shim. The selected binary's cached capability * profile builds both the real argv and stdin transport, while the spawn router * sends only the Codex subprocess to that exact executable. Git/verifier * subprocesses retain their normal commands. */ export declare function createCodexCliAdapter(options?: CodexCliAdapterOptions): import("../core/index.js").MartinAdapter;