import { SyncOptions } from "../../core/conf.js";
import { GitSyncRepository } from "./types.js";
export declare function outputResult(opts: {
    jsonOutput?: boolean;
}, result: {
    success: boolean;
    message?: string;
    error?: string;
    [key: string]: any;
}): void;
export declare function normalizeRepoPath(path: string): string;
export declare function getOrCreateBranchConfig(config: SyncOptions, branchName: string): {
    config: SyncOptions;
    branchKey: string;
};
export declare function applyBackendSettingsToBranch(config: SyncOptions, branchName: string, backendSettings: SyncOptions): SyncOptions;
export declare function selectAndLogRepository(repositories: GitSyncRepository[], repository?: string, suppressLogs?: boolean): Promise<GitSyncRepository>;
export declare function generateStructuredDiff(current: any, backend: any): {
    [key: string]: {
        from: any;
        to: any;
    };
};
export declare function generateChanges(current: SyncOptions, new_: SyncOptions): {
    [key: string]: {
        from: any;
        to: any;
    };
};
export declare function displayChanges(changes: {
    [key: string]: {
        from: any;
        to: any;
    };
}): void;
//# sourceMappingURL=utils.d.ts.map