export type WriteCode = 'OK' | 'PERMISSION_DENIED' | 'PARSE_ERROR' | 'MKDIR_FAILED' | 'WRITE_FAILED';
export interface WriteJsonConfigArgs {
    path: string;
    keyPath: string[];
    entry: Record<string, unknown>;
    dryRun?: boolean;
}
export interface WriteJsonConfigResult {
    ok: boolean;
    code: WriteCode;
    message?: string;
    dryRun?: boolean;
    backupPath?: string;
}
export declare function writeJsonConfig(args: WriteJsonConfigArgs): Promise<WriteJsonConfigResult>;
//# sourceMappingURL=config-writer-json.d.ts.map