import type { Page } from "playwright"; export interface DevOverlayError { index: number; kind: string; code: string | null; message: string; callStack: string[]; } export interface DevOverlayResult { detected: boolean; issuesCount: number; errors: DevOverlayError[]; } /** * Detect a Next.js dev overlay on the current page and, if present, capture * every queued issue. Idempotent, safe to call multiple times. The function * closes the overlay on exit; if it crashes partway, the overlay may be left * open (subsequent calls will recover). */ export declare function captureDevOverlay(page: Page, opts?: { stepDelayMs?: number; }): Promise; //# sourceMappingURL=dev-overlay.d.ts.map