import { DomPainterOptions, PaintSnapshot } from './index.js'; import { PageDecorationProvider } from './renderer.js'; import { FlowBlock, Layout, Measure, ResolvedLayout } from '../../../contracts/src/index.js'; export declare const emptyResolved: ResolvedLayout; /** * Test-only bridge: accepts old-style `{ blocks, measures, ...options }` and * returns a painter whose `paint()` automatically builds a `DomPainterInput`. */ export declare function createTestPainter(opts: { blocks?: FlowBlock[]; measures?: Measure[]; } & DomPainterOptions): { paint(layout: Layout, mount: HTMLElement, mapping?: unknown): void; setData(blocks: FlowBlock[], measures: Measure[], hb?: FlowBlock[], hm?: Measure[], fb?: FlowBlock[], fm?: Measure[]): void; setResolvedLayout(rl: ResolvedLayout | null): void; setProviders(header?: PageDecorationProvider, footer?: PageDecorationProvider): void; setVirtualizationPins(pageIndices: number[] | null | undefined): void; getMountedPageIndices(): number[]; getPaintSnapshot(): PaintSnapshot | null; onScroll(): void; setZoom(zoom: number): void; setScrollContainer(el: HTMLElement | null): void; setShowFormattingMarks(showFormattingMarks: boolean): void; }; //# sourceMappingURL=_test-utils.d.ts.map