UNPKG

@blocklet/xss

Version:

blocklet prevent xss attack

8 lines (7 loc) 296 B
import { SanitizeOptions } from './types'; export declare const initSanitize: (_options?: SanitizeOptions) => any; export declare const sanitizeSvg: (svgContent: string) => string; export declare const isSvgFile: (svgContent: string, file?: { name?: string; type?: string; }) => boolean;