import type { UrlParser } from '../../interfaces/UrlParserLib.mjs'; /** * URL parser built on the standard, spec-compliant `URL` global, suitable for * browsers and Node (both ship a complete implementation). * * This deliberately avoids the `whatwg-url` polyfill: its bundled * `webidl-conversions` dereferences `SharedArrayBuffer` at module-load time, * which throws `ReferenceError: SharedArrayBuffer is not defined` in browsers * that aren't cross-origin isolated (the common case). * @param uri - The otpauth URI to parse. * @returns The parsed OTP URL, or null if the URI could not be parsed. */ export declare const nativeUrlParser: UrlParser; export default nativeUrlParser;