import type { CDP } from ".."; import type { CDPSessionId } from "../types"; export interface ClickNavigationGuard { onBeforeUnloadPause: () => void; onBfcacheRestorePause: () => boolean; completeBfcacheRestore: () => void; dispose: () => void; } interface CreateClickNavigationGuardOptions { browser: WebdriverIO.Browser; cdp: CDP; cdpSessionId: CDPSessionId; pageLoadStrategy: "normal" | "eager"; pageLoadTimeout: number | null; waitForPageSwitch: () => Promise; } export declare const createClickNavigationGuard: (options: CreateClickNavigationGuardOptions) => ClickNavigationGuard; export {};