import type { BaseContext, BlockViewer, SignedHydratedBlockWithHashMeta } from '@xyo-network/xl1-protocol/protocol-lib';
/**
 * Constructs a bounded, contiguous canonical chain ending at the current head.
 * @param blockViewer The BlockViewer to fetch blocks from
 * @param maxWindowSize The maximum size of the windowed chain
 * @param previousChain An optional previous chain to build upon
 * @returns A promise that resolves to the windowed chain of blocks
 */
export declare function getWindowedChain(context: BaseContext, blockViewer: BlockViewer, maxWindowSize: number, previousChain?: SignedHydratedBlockWithHashMeta[]): Promise<SignedHydratedBlockWithHashMeta[]>;
//# sourceMappingURL=getWindowedChain.d.ts.map