/**
 * Codex Adapter (OpenAI)
 *
 * Semi-automation adapter for OpenAI Codex (ChatGPT Code Interpreter/Codex CLI).
 * Uses universal AGENTS.md file for instructions.
 *
 * Codex features:
 * - Works in CLI, IDE, web, GitHub, iOS app
 * - GPT-5-Codex optimized for engineering tasks
 * - File read/write operations
 * - Test execution and validation
 * - Task-based isolated environments
 */
import { AdapterBase } from '../adapter-base.js';
import { AdapterOptions, AdapterFile } from '../adapter-interface.js';
import type { Plugin } from '../../core/types/plugin.js';
export declare class CodexAdapter extends AdapterBase {
    name: string;
    description: string;
    automationLevel: "semi";
    /**
     * Detect if Codex is available
     *
     * Checks for:
     * - codex command in PATH (Codex CLI)
     * - .codex/ directory exists
     * - AGENTS.md file exists (previously configured)
     */
    detect(): Promise<boolean>;
    /**
     * Get files to install for Codex adapter
     */
    getFiles(): AdapterFile[];
    /**
     * Install Codex adapter
     */
    install(options: AdapterOptions): Promise<void>;
    /**
     * Generate AGENTS.md file
     */
    private generateAgentsMd;
    /**
     * Post-installation instructions
     */
    postInstall(options: AdapterOptions): Promise<void>;
    /**
     * Check if Codex adapter supports plugins
     */
    supportsPlugins(): boolean;
    getSkillsDirectory(): string;
    /**
     * Compile and install a plugin for OpenAI Codex.
     * Writes each SKILL.md as a separate file in `.codex/skills/`.
     */
    compilePlugin(plugin: Plugin): Promise<void>;
    /**
     * Unload a plugin from Codex — removes skill files from `.codex/skills/`.
     */
    unloadPlugin(pluginName: string): Promise<void>;
    /**
     * Get installed plugins for Codex by scanning `.codex/skills/`.
     */
    getInstalledPlugins(): Promise<string[]>;
    /**
     * Get usage instructions for Codex adapter
     */
    getInstructions(): string;
}
//# sourceMappingURL=adapter.d.ts.map