import type { BrowserContext, Page } from '@playwright/test'; export type HarReplayOptions = { /** * Behavior mode for requests not found in the archive * @defaultValue `'abort'` */ notFound?: 'abort' | 'fallback'; /** * Request URL pattern to be processed */ url?: string | RegExp; }; /** * Replays a HAR file through the public routing API, without touching any * Playwright internals. */ export declare function installHarReplay(target: Page | BrowserContext, file: string, { notFound, url }?: HarReplayOptions): Promise;