import type { AgentId, DetectedAgent } from './agents.js';
interface JsonAgentSpec {
    keyPath: string[];
    extraEntryFields?: Record<string, unknown>;
}
declare const JSON_SPECS: Record<Exclude<AgentId, 'claude-code' | 'codex'>, JsonAgentSpec>;
declare const CODEX_TABLE_PATH: string[];
export interface ConfigApplyResult {
    id: AgentId;
    displayName: string;
    ok: boolean;
    code: string;
    message?: string;
    configPath: string | null;
    alreadyInstalled?: boolean;
    dryRun?: boolean;
    backupPath?: string;
}
export interface ApplyConfigsOptions {
    dryRun?: boolean;
}
export declare function applyConfigs(detected: DetectedAgent[], selected: AgentId[], opts?: ApplyConfigsOptions): Promise<ConfigApplyResult[]>;
export { JSON_SPECS, CODEX_TABLE_PATH };
export type { AgentId, DetectedAgent };
//# sourceMappingURL=config-writer.d.ts.map