import GraphModelMigrationLoweredPatchPlan from '../../../../src/domain/migrations/GraphModelMigrationLoweredPatchPlan.ts';
import GraphModelMigrationScratchWriteResult from '../../../../src/domain/migrations/GraphModelMigrationScratchWriteResult.ts';
export type GraphModelMigrationScratchWriterOptions = {
    readonly repositoryPath: string;
    readonly scratchRefName: string | null;
    readonly patchPlan: GraphModelMigrationLoweredPatchPlan;
};
export declare class GraphModelMigrationScratchWriterError extends Error {
    constructor(message: string);
}
/** Writes lowered graph-model migration operations to an explicit scratch ref. */
export declare function writeGraphModelMigrationScratchHistory(options: GraphModelMigrationScratchWriterOptions): Promise<GraphModelMigrationScratchWriteResult>;
