/// <reference types="node" />
/// <reference types="bun-types" />
import type { ProfileType } from '../types/profile';
import type { TargetAdapter, TargetBinaryInfo, TargetCredentials, TargetType } from './target-adapter';
export declare class CodexAdapter implements TargetAdapter {
    readonly type: TargetType;
    readonly displayName = "Codex CLI";
    private ccsxpCliproxyEnvKey;
    detectBinary(): TargetBinaryInfo | null;
    prepareCredentials(_creds: TargetCredentials): Promise<void>;
    buildArgs(_profile: string, userArgs: string[], options?: {
        creds?: TargetCredentials;
        profileType?: ProfileType;
        binaryInfo?: TargetBinaryInfo;
    }): string[];
    buildEnv(creds: TargetCredentials, profileType: ProfileType): NodeJS.ProcessEnv;
    exec(args: string[], env: NodeJS.ProcessEnv, options?: {
        cwd?: string;
        binaryInfo?: TargetBinaryInfo;
    }): void;
    supportsProfileType(profileType: ProfileType): boolean;
}
//# sourceMappingURL=codex-adapter.d.ts.map