/**
 * Type definitions for Codex SDK integration
 */
import type { PermissionMode } from '../../core/models/index.js';
import type { CodexReasoningEffort } from '../../core/models/workflow-types.js';
import type { StreamCallback } from '../../shared/types/provider.js';
/** Codex sandbox mode values */
export type CodexSandboxMode = 'read-only' | 'workspace-write' | 'danger-full-access';
/** Map TAKT PermissionMode to Codex sandbox mode */
export declare function mapToCodexSandboxMode(mode: PermissionMode): CodexSandboxMode;
/** Options for calling Codex */
export interface CodexCallOptions {
    cwd: string;
    abortSignal?: AbortSignal;
    sessionId?: string;
    model?: string;
    reasoningEffort?: CodexReasoningEffort;
    systemPrompt?: string;
    /** Permission mode for sandbox configuration */
    permissionMode?: PermissionMode;
    /** Enable network access for workspace-write sandbox */
    networkAccess?: boolean;
    /** Enable streaming mode with callback (best-effort) */
    onStream?: StreamCallback;
    /** OpenAI API key (bypasses CLI auth) */
    openaiApiKey?: string;
    /** Override path to external Codex CLI binary (bypasses SDK vendored binary) */
    codexPathOverride?: string;
    /** JSON Schema for structured output */
    outputSchema?: Record<string, unknown>;
}
//# sourceMappingURL=types.d.ts.map