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 const CODEX_FAST_MODE_CONFIG: readonly ["service_tier=\"fast\"", "features.fast_mode=true"]; export declare class CodexCliAgentRuntime extends ControllerAgentRuntime { readonly command: string; readonly env: Record | undefined; readonly kind = "codex-cli"; private readonly config; private readonly providerArgs; private pendingSessionCorruption?; private resumedProviderSessionId?; constructor(config: CodexCliAgentProviderConfig, command: string, providerArgs?: readonly 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(config: CodexCliAgentProviderConfig, providerArgs?: readonly string[]): string[]; export declare function codexFastModeArgs(config: CodexCliAgentProviderConfig): string[]; export declare function codexToolEnvIncludeList(env: Record | undefined): string[]; //# sourceMappingURL=codex.d.ts.map