import type { BrowserContext, Page } from '@playwright/test'; /** Test seam: makes every replay take the userland engine, as a thin client would. */ export declare function setForcedFallbackReplay(enabled: boolean): void; /** * Replays a dump through Playwright's own `routeFromHAR`, keeping its router and * its response timing, while still honouring the transforms of this package. * * Returns `false` when the seam is not available, so that the caller can fall * back to the userland engine. */ export declare function tryNativeHarReplay(target: Page | BrowserContext, routeFromHAR: (har: string, options: Record) => Promise, file: string, options: Record): Promise;