/** * Android hardware-back auto-tracker. Subscribes to RN's * `BackHandler` and emits BUTTON_CLICK("Android Device Back Button") * per press. The subscription returns `false` so the default back * navigation still runs - the tracker is observe-only. * * No-op on iOS / web: the platform check inside `attach()` returns * a no-op detach when `Platform.OS !== 'android'`, so the SDK boot * does not crash on the wrong host. */ import type { KeewanoTracker } from '../types/config'; import type { BackHandlerTrackerArgs } from './types/BackHandlerTracker'; declare class BackHandlerTracker implements KeewanoTracker { readonly name = "BackHandlerTracker"; private readonly args; constructor(args: BackHandlerTrackerArgs); /** * Subscribe to hardware-back events when running on Android. * Returns a no-op detach on iOS / web or when the BackHandler * module is absent. */ attach(): () => void; } export type { BackHandlerTrackerArgs } from './types/BackHandlerTracker'; export { BackHandlerTracker };