import { IWhiteList } from 'xss'; export declare const svgHtmlAllowList: IWhiteList; /** * Default Allowed SVG elements and attributes * * @returns Array of allowed elements and attributes for SVG tags. */ export declare const svgAllowList: IWhiteList; /** * These SVG attributes can be abused. * * They can reference external resources, which can be used to introduce vulnerabilities. * To prevent this, we have stricter rules around what's allowed in them. * Specifically, we only allow URLs that we deem to be clean. * * @see isHrefValueClean */ export declare const linkingSVGElements: string[]; /** * Check if a URL is safe to use in a href attribute. * * @param {string} url The URL to check. * @param {boolean} checkingUse Whether we are checking a tag. * * @returns {boolean} Whether the URL is safe to use. */ export declare const isHrefValueClean: (url: string, checkingUse?: boolean) => boolean;