import { type TestInfoForCi } from './ci-test-info'; /** Per-call cap for `page.evaluate` RUM flush so a wedged page does not burn the whole test timeout. */ export declare function resolveWebRumFlushTimeoutMs(): number; /** Max time to wait for buffered events before flush when CI metadata is present (fast async emits). */ export declare function resolveWebRumBufferPollMs(): number; export declare function webRumFlushDebugEnabled(): boolean; type PageWithRumFlush = { evaluate: (fn: (...args: any[]) => void | Promise, arg?: unknown) => Promise; }; /** * Re-apply TrueCoverage CI metadata on the page (mirrors mobile resync before flush). */ export declare function syncWebCiTestInfo(page: Pick, testInfo: TestInfoForCi, projectRootDir: string): Promise; /** * Flush buffered @testchimp/rum-js events before Playwright tears down the page. * Awaits `globalThis.__TC_RUM_FLUSH` (rum-js ≥ 0.1.7) with a normal fetch so the POST * completes while the page is still open. */ export declare function flushWebRumBuffer(page: PageWithRumFlush, testInfo?: TestInfoForCi, projectRootDir?: string): Promise; /** * Web RUM flush runs in {@link extendWebTrueCoveragePage} fixture teardown (after all hooks). * This export remains for API compatibility; mobile hooks still use `afterEach`. */ export declare function attachWebRumAutomationHooks(testType: any): any; export {}; //# sourceMappingURL=rum-automation-web.d.ts.map