import type { BrowserContext } from '@playwright/test'; import { type BrowserIssueAllowlistEntry } from './browser-issue-records.mts'; import type { MonitoredTestInfo } from './monitored-test-info.mts'; interface BrowserIssueMonitorOptions { allowlist?: BrowserIssueAllowlistEntry[]; warningPattern?: RegExp; } export declare class BrowserIssueMonitor { private readonly allowlist; private readonly issues; private readonly monitoredContexts; private readonly testInfo; private readonly warningPattern; constructor(testInfo: MonitoredTestInfo, options?: BrowserIssueMonitorOptions); monitorContext(context: BrowserContext): void; dispose(): void; attachIssuesIfAny(): Promise; assertNoIssues(): Promise; private formatIssues; private formatIssueSummary; private recordIssue; } export {};