import type { Codex, CodexOptions } from '@openai/codex-sdk';
import type { ExecResult, ExecutorInput } from '../types/index.js';
export declare function getIsolatedCodexHome(): Promise<string>;
export declare function __resetCodexSdkStateForTest(): void;
export declare function buildCodexSdkThreadOptions({ model, cwd }: {
    model: string;
    cwd?: string | null;
}): {
    model?: string;
    sandboxMode: 'read-only';
    workingDirectory?: string;
    skipGitRepoCheck: true;
    approvalPolicy: 'never';
};
export declare function buildCodexSdkClientOptions(env: NodeJS.ProcessEnv): CodexOptions;
export declare function createCodexSdkClient(env: NodeJS.ProcessEnv): Promise<Codex>;
export declare function codexSdkExecutor({ model, system, prompt, cwd, skillDir, timeoutMs, allowedSkills, verbose }: ExecutorInput): Promise<ExecResult>;
//# sourceMappingURL=codex-sdk.d.ts.map