/**
 * Codex SDK integration for agent interactions
 *
 * Uses @openai/codex-sdk for native TypeScript integration.
 */
import type { AgentResponse } from '../../core/models/index.js';
import { type CodexCallOptions } from './types.js';
export type { CodexCallOptions } from './types.js';
/**
 * Client for Codex SDK agent interactions.
 *
 * Handles thread management, streaming event conversion,
 * and response processing.
 */
export declare class CodexClient {
    private isRetriableError;
    private isReconnectFailure;
    private withReconnectFailureDiagnostics;
    private waitForRetryDelay;
    private resolveFailureDetail;
    private shouldRetry;
    private recordRetry;
    private buildErrorResponse;
    private buildRateLimitedResponse;
    /** Call Codex with an agent prompt */
    call(agentType: string, prompt: string, options: CodexCallOptions): Promise<AgentResponse>;
    /** Call Codex with a custom agent configuration (system prompt + prompt) */
    callCustom(agentName: string, prompt: string, systemPrompt: string, options: CodexCallOptions): Promise<AgentResponse>;
}
export declare function callCodex(agentType: string, prompt: string, options: CodexCallOptions): Promise<AgentResponse>;
export declare function callCodexCustom(agentName: string, prompt: string, systemPrompt: string, options: CodexCallOptions): Promise<AgentResponse>;
//# sourceMappingURL=client.d.ts.map