import { CodexAppServerController } from './codex-app-server.js'; import { ControllerAgentRuntime } from './provider-runtime.js'; import { type AgentRuntimeFollowupInput, type AgentRuntimeFollowupResult, type AgentRuntimeInput, type AgentRuntimeResult, type CodexCliAgentProviderConfig } from './contract.js'; export declare const CODEX_AUTO_COMPACT_TOKEN_LIMIT_ENV = "ANIMA_CODEX_AUTO_COMPACT_TOKEN_LIMIT"; export declare const CODEX_AUTO_COMPACT_TOKEN_LIMIT_SCOPE = "total"; export declare class CodexCliAgentRuntime extends ControllerAgentRuntime { readonly command: string; readonly env: Record | undefined; readonly kind = "codex-cli"; private readonly config; private pendingSessionCorruption?; private resumedProviderSessionId?; constructor(config: CodexCliAgentProviderConfig, command: string); run(input: AgentRuntimeInput): Promise; appendToActiveRun(input: AgentRuntimeFollowupInput): Promise; private ensureController; private markSessionCorruption; private sessionCorruptionError; private threadParams; } /** Anima-managed Codex auto-compact limit. Absent env → undefined (Codex native behavior). */ export declare function codexAutoCompactTokenLimitFor(env: Record | undefined): number | undefined; export declare function codexAppServerArgs(env: Record | undefined): string[]; export declare function codexToolEnvIncludeList(env: Record | undefined): string[]; //# sourceMappingURL=codex.d.ts.map