/**
 * Asserts that the given URL is safe to navigate to, i.e. its scheme is in the
 * allowlist (`http:`/`https:`). Used as a defense-in-depth guard wherever a
 * server-supplied or cached URL flows into navigation, preventing DOM XSS via
 * `javascript:` URIs and open redirects via other dangerous schemes.
 *
 * @param url - The URL string or parsed URL to validate.
 * @throws {UnsafeNavigationUrlError} If the URL cannot be parsed or its scheme is not allowed.
 * @notInstrumented
 */
export declare const assertSafeNavigationUrl: (url: string | URL) => void;
//# sourceMappingURL=assertSafeNavigationUrl.d.ts.map