/** * Configuration options for SVG sanitization */ type SanitizationOptions = { /** * Whether to allow style attributes in SVG elements * @default false */ allowStyles?: boolean; /** * Additional attributes to remove during sanitization beyond the default set * @default [] */ forbiddenAttributes?: string[]; /** * Additional tags to remove during sanitization beyond the default set * @default [] */ forbiddenTags?: string[]; }; /** * Sanitizes SVG markup string to prevent XSS attacks * @param svgString - The SVG markup as a string * @param options - Optional sanitization configuration * @returns Sanitized SVG string or null if invalid */ export declare function sanitizeSvg(svgString: string, options?: SanitizationOptions): string | null; /** * Checks if we're in a browser environment */ export declare function canUseDOM(): boolean; export {};