/** * Returns an absolute URL string that is safe to pass into Staffbase's * `openLink()`. We intentionally do NOT require `/openlink/`; if the platform * strips it, links can still open in-app by delegating to `openLink()`. Ported * from staffbase-alerts (identical to unack). * @param {string | null | undefined} href - Raw href as found on an element. * @param {string} baseUrl - Base URL used to resolve relative hrefs (usually window.location.origin). * @returns {string | null} An absolute URL string, or null if it should not be handled. */ export declare const getInAppOpenLinkTarget: (href: string | null | undefined, baseUrl: string) => string | null; //# sourceMappingURL=getInAppOpenLinkTarget.d.ts.map