import type { Browser, Page } from "playwright"; import type { ComputedStyleSnapshot } from "./computed-style-snapshot.js"; import type { RasterizeInPlaceOptions } from "./rasterize-subtree.browser.js"; import { ComputedStyleResolver } from "./style-resolver.js"; export interface PlaywrightPreparedExport { html: string; snapshotRootSelector: string | null; cleanupSelector: string | null; } export declare function preparePlaywrightRasterizedExport(page: Page, rootSelector: string | null | undefined, options?: RasterizeInPlaceOptions, mutate?: boolean): Promise; export declare function openPlaywrightPage(html: string, browser: Browser): Promise; export declare function snapshotComputedStyles(page: Page, rootSelector?: string): Promise; export declare function createComputedStyleResolver(html: string, browser: Browser): Promise; /** * Snapshot computed styles from a live Playwright page for DOCX export. * Forces `prefers-color-scheme: light` for the duration of the snapshot (Word is a * white-page medium); restores the previous media emulation afterward. */ export declare function computedStyleResolverFromPage(page: Page, rootSelector?: string): Promise; //# sourceMappingURL=style-resolver-node.d.ts.map