import { type WalkFetch, type Watch } from "../io/source.js";
import { type BlockFrame, type FrameClaim } from "./block.js";
import { type SegmentPass } from "./chain.js";
/** The cluster a walk takes over at from another read, and the body offset its blocks must lie past. */
export interface WalkFrom {
    clusterPos: number;
    relPos: number;
}
/**
 * Hands over the claimed tracks' frames cluster by cluster, in file order.
 *
 * A refusal is a `GrammarError` after the clusters before it, and ending the iteration ends the reads.
 */
export declare function walkFrames(opened: Omit<SegmentPass, "signal">, claims: ReadonlyMap<number, FrameClaim>, knobs: WalkFetch, watch: Watch, from?: WalkFrom): AsyncGenerator<BlockFrame[]>;
