import WarpMemoryPool from '../../memory/WarpMemoryPool.ts';
import { type CheckpointBasisFact } from './CheckpointBasisFact.ts';
import type CheckpointTailOpticSource from './CheckpointTailOpticSource.ts';
import type { CheckpointTailCheckpointFrontier } from './CheckpointTailOpticSource.ts';
export type CheckpointPatchFactStreamOptions = {
    readonly source: CheckpointTailOpticSource;
};
export type CheckpointPatchFactStreamReadOptions = {
    readonly previousCheckpoint: CheckpointTailCheckpointFrontier;
    readonly targetFrontier: Map<string, string>;
};
export type CheckpointPatchFactStreamBoundedReadOptions = CheckpointPatchFactStreamReadOptions & {
    readonly pool: WarpMemoryPool;
};
export default class CheckpointPatchFactStream {
    private readonly _source;
    constructor(options: CheckpointPatchFactStreamOptions);
    stream(options: CheckpointPatchFactStreamReadOptions): AsyncIterable<CheckpointBasisFact>;
    streamBounded(options: CheckpointPatchFactStreamBoundedReadOptions): AsyncIterable<CheckpointBasisFact>;
    private _openWriterCursors;
    private _collectEntries;
    private _streamWriterFacts;
    private _streamEntryFacts;
    private _loadWriterEntries;
    private _validateCoverage;
}
