/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * @hidden * Returns `true` for relative references and URLs using an allow-listed scheme. * Callers can pass additional scheme names without a trailing colon. */ export declare const isSafeUrl: (url: string | null | undefined, extraSchemes?: readonly string[]) => boolean; /** * @hidden * Same as {@link isSafeUrl}, but also accepts raster image data URLs and rejects SVG data URLs. */ export declare const isSafeImageUrl: (url: string | null | undefined) => boolean; /** * @hidden * Removes potentially unsafe URL schemes and preserves relative URLs and fragments. */ export declare const sanitizeUrl: (url?: string | null) => string;