import type { PromptRunOptions } from '../types/PromptRunOptions';
import type { PromptRunResult } from '../types/PromptRunResult';
import type { PromptRunner } from '../types/PromptRunner';
import type { OpenAiCodexRunnerOptions } from './OpenAiCodexRunnerOptions';
/**
 * Runs prompts via the OpenAI Codex CLI.
 */
export declare class OpenAiCodexRunner implements PromptRunner {
    private readonly options;
    readonly name = "codex";
    private readonly rateLimitBackoff;
    /**
     * Creates a new Codex runner.
     */
    constructor(options: OpenAiCodexRunnerOptions);
    /**
     * Runs the Codex prompt in a temporary script and waits for completion output.
     */
    runPrompt(options: PromptRunOptions): Promise<PromptRunResult>;
}
