export interface ClickCommandGuard { startClick: () => void; waitForNavigationCompletion: () => Promise; cancelClick: () => void; } /** * Install one persistent click wrapper because WebdriverIO commands cannot be restored after overwriteCommand. * The active guard can still be replaced or disabled when a browser session is reused. */ export declare const enableClickCommandGuard: (browser: WebdriverIO.Browser, guard: ClickCommandGuard) => (() => void);