import type { Page } from '@playwright/test'; interface ImageResponseGuard { assertNoImageFailures(): void; } /** * Registers response and requestfailed listeners on `page` to record any image * requests that fail at the network level or return a non-2xx HTTP status. * * Call once at the top of a test, then call `assertNoImageFailures()` after the * interaction under test completes. This is the network-level gate — it catches * off-screen and lazy-loaded images that a visible-element poll cannot see. * * Any image failure during the test surfaces here. Ignore a known-flaky host in * the caller's network policy instead of suppressing the error here. */ export declare function installImageResponseGuard(page: Page): ImageResponseGuard; export {};