/** * Pure helpers for `extract-sharepoint-links-in-mail`. * * `extractSharepointUrls(htmlBody)` finds every `https://*.sharepoint.com/...` * URL inside an HTML mail body — both `` and bare-text * occurrences — and returns the deduplicated list. * * `buildShareToken(url)` encodes a URL for Graph's `/shares/{token}` * resolver per [shares-get](https://learn.microsoft.com/en-us/graph/api/shares-get): * `u!` + base64url(url) with no padding. */ declare const extractSharepointUrls: (htmlBody: string) => ReadonlyArray; declare const buildShareToken: (url: string) => string; export { buildShareToken, extractSharepointUrls };