import { RuntimeAgentService } from './runtime-agent.service.abstract.js';
import { SessionCommandHelper } from '../session/index.js';
import { type RuntimeType } from '../../constants.js';
/**
 * OpenAI Codex CLI specific runtime service implementation.
 * Handles Codex CLI initialization, detection, and interaction patterns.
 */
export declare class CodexRuntimeService extends RuntimeAgentService {
    constructor(sessionHelper: SessionCommandHelper, projectRoot: string);
    protected getRuntimeType(): RuntimeType;
    /**
     * Codex CLI runtime detection.
     *
     * NOTE: Do not use active key probes (Ctrl+C, '/', etc.) here. Codex can
     * interpret those as shell input/cancel and drop back to zsh, which causes
     * false negatives and unintended exits during health checks.
     */
    protected detectRuntimeSpecific(sessionName: string): Promise<boolean>;
    /**
     * Codex CLI specific ready patterns
     */
    protected getRuntimeReadyPatterns(): string[];
    /**
     * Codex CLI specific exit patterns for runtime exit detection
     */
    protected getRuntimeExitPatterns(): RegExp[];
    /**
     * Codex CLI specific error patterns
     */
    protected getRuntimeErrorPatterns(): string[];
    /**
     * Check if Codex CLI is installed and configured
     */
    checkCodexInstallation(): Promise<{
        isInstalled: boolean;
        version?: string;
        message: string;
    }>;
    /**
     * Initialize Codex in an existing session
     */
    initializeCodexInSession(sessionName: string): Promise<{
        success: boolean;
        message: string;
    }>;
}
//# sourceMappingURL=codex-runtime.service.d.ts.map