/** * Wait for a page lifecycle state. * * State semantics (Playwright-aligned): * - `load` — `document.readyState === 'complete'` (the `load` event fired) * - `domcontentloaded` — `document.readyState` is `'interactive'` or * `'complete'` (DOMContentLoaded fired) * - `networkidle` — best effort: monkey-patches `fetch` and `XMLHttpRequest` * to count active requests, then waits for the count to stay at 0 for * 500ms. Patching is reverted before resolving. CDP's Network domain * would be cleaner, but this avoids requiring a domain-enable * round-trip and stays scoped to the wait. * * Resolution strings: * - `Load state reached: (waited ms)` * - `Timeout: load state not reached within ms` */ export declare const waitForLoadState: import("../types").CommandModule;