/** * Deep-link auto-tracker. Subscribes to RN's `Linking` and emits * DEEP_LINK_ACTIVATED with the URL string per `'url'` event. * * The initial-launch URL (returned by `Linking.getInitialURL()`) is * NOT emitted automatically: the launch URL is a single one-shot * value that the host's deep-link router resolves at startup, and * emitting it as a runtime "activation" would double-report when * the same URL also fires through the change listener on certain * OS / RN combinations. Hosts that want the launch URL tracked * should emit it themselves once the deep-link route is resolved. */ import type { KeewanoTracker } from '../types/config'; import type { LinkingTrackerArgs } from './types/LinkingTracker'; declare class LinkingTracker implements KeewanoTracker { readonly name = "LinkingTracker"; private readonly args; constructor(args: LinkingTrackerArgs); /** * Subscribe to deep-link `'url'` events. Returns a no-op detach * when Linking is unavailable. */ attach(): () => void; } export type { LinkingTrackerArgs } from './types/LinkingTracker'; export { LinkingTracker };