import GenesisEquivalenceReading from '../../../../src/domain/migrations/GenesisEquivalenceReading.ts';
import GraphModelMigrationRuntimeReplayRequest from '../../../../src/domain/migrations/GraphModelMigrationRuntimeReplayRequest.ts';
import GraphModelMigrationScratchWriteResult from '../../../../src/domain/migrations/GraphModelMigrationScratchWriteResult.ts';
export type GraphModelMigrationScratchPublicReadBuilderOptions = {
    readonly sourceRepositoryPath: string;
    readonly runtimeRepositoryPath?: string | null;
    readonly request: GraphModelMigrationRuntimeReplayRequest;
    readonly readingId: string;
};
export type GraphModelMigrationScratchPublicReadProviderOptions = {
    readonly sourceRepositoryPath: string;
    readonly graphId: string;
    readonly writerId?: string;
    readonly runtimeRepositoryPath?: string | null;
    readonly readingId?: string | null;
};
/** Builds a scratch reading by replaying scratch history and reading materialized runtime state. */
export declare function buildGraphModelMigrationScratchPublicReadReading(options: GraphModelMigrationScratchPublicReadBuilderOptions): Promise<GenesisEquivalenceReading>;
/** Creates a command reading provider for scratch-write results. */
export declare function createGraphModelMigrationScratchPublicReadProvider(options: GraphModelMigrationScratchPublicReadProviderOptions): (scratchWriteResult: GraphModelMigrationScratchWriteResult) => Promise<GenesisEquivalenceReading>;
export declare class GraphModelMigrationScratchPublicReadBuilderError extends Error {
    constructor(message: string);
}
