import GraphModelMigrationNotice from './GraphModelMigrationNotice.ts';
import GraphModelMigrationScratchRef from './GraphModelMigrationScratchRef.ts';
import GraphModelMigrationScratchWrittenPatch from './GraphModelMigrationScratchWrittenPatch.ts';
export type GraphModelMigrationScratchWriteResultFields = {
    readonly scratchRef: GraphModelMigrationScratchRef | null;
    readonly scratchHead: string | null;
    readonly writtenPatches: readonly GraphModelMigrationScratchWrittenPatch[];
    readonly warnings: readonly GraphModelMigrationNotice[];
    readonly fatalErrors: readonly GraphModelMigrationNotice[];
};
/** Result value for an explicit scratch migration history write. */
export default class GraphModelMigrationScratchWriteResult {
    readonly scratchRef: GraphModelMigrationScratchRef | null;
    readonly scratchHead: string | null;
    readonly writtenPatches: readonly GraphModelMigrationScratchWrittenPatch[];
    readonly warnings: readonly GraphModelMigrationNotice[];
    readonly fatalErrors: readonly GraphModelMigrationNotice[];
    constructor(fields: GraphModelMigrationScratchWriteResultFields);
    /** Returns true when the write was blocked before completion. */
    hasFatalErrors(): boolean;
}
