import { UseInAppLinkHandlingOptions } from '../../types/links/UseInAppLinkHandlingOptions'; import { UseInAppLinkHandlingReturn } from '../../types/links/UseInAppLinkHandlingReturn'; /** * Centralizes in-content link handling for Staffbase mobile/webview environments. * * Always attempts Staffbase-aware navigation (the host openLink when available, * otherwise same-tab navigation). It exposes React handlers for click/touchend/ * pointerup and, when `containerRef` is given, installs a more reliable native * capture-phase handler. Touch/pointer/click are de-duplicated within a short * window so a single tap never fires navigation twice in iOS webviews. * @param {UseInAppLinkHandlingOptions} options - Origin, after-open callback and optional container ref. * @returns {UseInAppLinkHandlingReturn} prepareHtmlContent plus the React event handlers. */ export declare const useInAppLinkHandling: ({ staffbaseOrigin, onAfterOpen, containerRef, }: UseInAppLinkHandlingOptions) => UseInAppLinkHandlingReturn; //# sourceMappingURL=useInAppLinkHandling.d.ts.map