/**
 * Droid Config Manager
 *
 * Read/write ~/.factory/settings.json safely.
 * Only touches ccs-* prefixed entries in customModels[].
 */
export interface DroidCustomModel {
    model: string;
    displayName: string;
    baseUrl: string;
    apiKey: string;
    provider: 'anthropic' | 'openai' | 'generic-chat-completion-api';
    maxOutputTokens?: number;
    reasoningOverride?: string | number;
}
export interface DroidManagedModelRef {
    profile: string;
    displayName: string;
    index: number;
    selectorAlias: string;
    selector: string;
}
/**
 * Upsert a CCS-managed custom model entry.
 * Acquires file lock to prevent concurrent write races.
 */
export declare function upsertCcsModel(profile: string, model: DroidCustomModel): Promise<DroidManagedModelRef>;
/**
 * Remove a CCS-managed custom model entry.
 */
export declare function removeCcsModel(profile: string): Promise<void>;
/**
 * List all CCS-managed custom model entries.
 */
export declare function listCcsModels(): Promise<Map<string, DroidCustomModel>>;
/**
 * Prune orphaned CCS entries from settings.json.
 * Removes ccs-* entries whose profile no longer exists in active profiles.
 */
export declare function pruneOrphanedModels(activeProfiles: string[]): Promise<number>;
//# sourceMappingURL=droid-config-manager.d.ts.map