/**
 * Droid Adapter
 *
 * TargetAdapter implementation for Factory Droid CLI.
 * Writes credentials + active model to ~/.factory/settings.json and spawns `droid`.
 */
/// <reference types="node" />
/// <reference types="bun-types" />
import { TargetAdapter, TargetBinaryInfo, TargetCredentials, TargetType } from './target-adapter';
import type { ProfileType } from '../types/profile';
export declare class DroidAdapter implements TargetAdapter {
    readonly type: TargetType;
    readonly displayName = "Factory Droid";
    private validateCredentials;
    detectBinary(): TargetBinaryInfo | null;
    /**
     * Write CCS credentials to ~/.factory/settings.json as a custom model entry.
     * This is the key difference from Claude — Droid reads config files, not env vars.
     */
    prepareCredentials(creds: TargetCredentials): Promise<void>;
    buildArgs(profile: string, userArgs: string[]): string[];
    /**
     * Droid uses config file for credentials — keep parent env, but strip stale
     * ANTHROPIC_* values so prior CCS/CLIProxy sessions do not leak into Droid.
     */
    buildEnv(_creds: TargetCredentials, _profileType: ProfileType): NodeJS.ProcessEnv;
    exec(args: string[], env: NodeJS.ProcessEnv, options?: {
        cwd?: string;
        binaryInfo?: TargetBinaryInfo;
    }): void;
    /** Droid supports settings/default and CLIProxy-executed profile flows. */
    supportsProfileType(profileType: ProfileType): boolean;
}
//# sourceMappingURL=droid-adapter.d.ts.map