import GenesisEquivalenceReading from '../../../../src/domain/migrations/GenesisEquivalenceReading.ts';
import type { GraphModelMigrationPlannedGraphOperationKind } from '../../../../src/domain/migrations/GraphModelMigrationPlannedGraphOperation.ts';
export type GraphModelMigrationScratchReadingBuilderOptions = {
    readonly repositoryPath: string;
    readonly scratchRefName: string;
    readonly readingId: string;
};
export declare class GraphModelMigrationScratchOperationRecord {
    readonly commitId: string;
    readonly sequence: number;
    readonly kind: GraphModelMigrationPlannedGraphOperationKind;
    readonly sourceKey: string;
    readonly targetKey: string;
    constructor(commitId: string, sequence: number, kind: GraphModelMigrationPlannedGraphOperationKind, sourceKey: string, targetKey: string);
}
export declare class GraphModelMigrationScratchReadingBuilderError extends Error {
    constructor(message: string);
}
/** Builds an equivalence reading from scratch migration operation commits. */
export declare function buildGraphModelMigrationScratchReading(options: GraphModelMigrationScratchReadingBuilderOptions): Promise<GenesisEquivalenceReading>;
/** Reads scratch migration operation commit payloads from Git in replay order. */
export declare function readGraphModelMigrationScratchOperationRecords(options: {
    readonly repositoryPath: string;
    readonly scratchRefName: string;
}): Promise<readonly GraphModelMigrationScratchOperationRecord[]>;
