/**
 * @param {string} path
 * @param {{
 *   branch: string,
 *   baseRef: string,
 *   mergeBase: string,
 *   commit: string,
 *   label: string,
 *   capturedAt: string,
 *   metrics: {
 *     typecheckErrors: number,
 *     lintErrors: number,
 *     lintWarnings: number,
 *     testsPassed: number,
 *     testsFailed: number,
 *     testSuites: number,
 *     failedSuites: number,
 *   },
 * }} snapshot
 * @returns {Promise<void>}
 */
export declare function writeSnapshot(path: string, snapshot: {
    branch: string;
    baseRef: string;
    mergeBase: string;
    commit: string;
    label: string;
    capturedAt: string;
    metrics: {
        typecheckErrors: number;
        lintErrors: number;
        lintWarnings: number;
        testsPassed: number;
        testsFailed: number;
        testSuites: number;
        failedSuites: number;
    };
}): Promise<void>;
