/** * System Back, on demand: the first time a session reaches for it (healix_device "back", or a * healix_try line with pressBackButton( / browser.back( ), the call is not run and the agent * gets the short rule instead. The next call runs: by then the choice is deliberate (a test of * Android Back itself). One delivery per session covers both tools. * * Why: system Back does not exist on iOS and is unreliable on some Android drivers * (BrowserStack's older UiAutomator2 has no "mobile: pressKey"); the screen's own back or * close element works everywhere and is what the user taps. */ export declare const BACK_GUIDANCE: string[]; /** True when a try line uses system Back. */ export declare function usesSystemBack(code: string): boolean; /** Mobile only: on the web, browser.back() is an ordinary browser action. Unknown platform counts as mobile. */ export declare function backGuideApplies(platform: string | null | undefined): boolean; /** * The guidance to return instead of running the call, or null to run it. Marks the session * as delivered, so the next call (whichever tool) goes through. */ export declare function backGuidanceFor(sessionKey: string): string[] | null; /** Test seam. */ export declare function resetBackGuidance(): void;