/** * Wait for a navigation event. * * Two listening strategies in parallel: * 1. `popstate` + `hashchange` event listeners (covers SPA route changes) * 2. URL polling at 100ms intervals (covers `pushState` without dispatched * `popstate`, which React Router and friends often do) * * Resolution strings: * - `Navigated to: (waited ms)` — URL changed (or matched substring) * - `Timeout: URL did not change within ms (current: )` * * If `expectedUrlSubstring` is supplied, match is "url contains substring". * Otherwise, match is "url differs from initial URL". */ export declare const waitForNavigation: import("../types").CommandModule;