/** * Races `operation` against a timer, rejecting if it doesn't settle within `ms`. * * Note: this does not cancel `operation` — it keeps running in the background. * That is intentional for the HAR teardown path: a bounded `context.close()` * returns control so Playwright's built-in context teardown can await the real * close within its own budget, rather than our override hogging the shared * teardown budget that native video/trace persistence depends on. */ export declare const withTimeout: (operation: Promise, ms: number) => Promise;