import type { ArtifactStore } from '../../core/artifact-store.js'; import type { CheckResult } from '../../core/report-schema.js'; import type { VisualThreshold } from '../visual/thresholds.js'; export type PrintRenderedPageCase = { id: string; page: number; baseline: string; baselineRoot?: string | undefined; threshold?: VisualThreshold | undefined; blocking?: boolean | undefined; strict?: boolean | undefined; }; export type PrintCase = { id: string; route: string; viewport: string; scenario?: string | undefined; blocking: boolean; pdf: { format: string; printBackground: boolean; expectedPageCount?: number | undefined; expectedPageSize?: 'A4' | undefined; poppler: { mode: 'optional' | 'required'; dpi: number; }; renderedPages: PrintRenderedPageCase[]; }; }; export type PrintContractConfig = { enabled?: boolean | undefined; cases: PrintCase[]; }; export type PrintBrowserConfig = { baseUrl: string; routes: Array<{ id: string; path: string; }>; }; export declare function runPrintContract(input: { config: PrintContractConfig; browser: PrintBrowserConfig; store: ArtifactStore; }): Promise;