/**
 * Install Bidi-aware overwrites for protocol commands that need Bidi-specific
 * mechanisms.  Each overwrite checks `isBidiCommandsEnabled(this)` at call time:
 * the Bidi path uses a Bidi-only API (script.evaluate, browsingContext.getTree),
 * while the non-Bidi fallback calls `origCommand()` — the untouched protocol
 * endpoint — so mock services and classic WebDriver keep working without any
 * changes.
 *
 * The `isBidiCommandsEnabled` gate requires both `browser.isBidi` AND the
 * `'wdio:experimentalBiDiCommands': true` capability flag.  Mock sessions
 * (which are Bidi-capable but don't set the experimental flag) fall through
 * to the classic `origCommand()` path.
 *
 * Centralising these overwrites here (rather than in separate command files)
 * makes it easier to spot and manage Bidi-vs-classic inconsistencies across
 * browser-level getters.
 */
export declare function applyBidiBrowserOverwrites(browser: WebdriverIO.Browser): void;
//# sourceMappingURL=browserOverwrites.d.ts.map