UNPKG

isomorphic-dompurify

Version:

Makes it possible to use DOMPurify on server and client in the same way.

19 lines (15 loc) 862 B
import { DOMPurify as DOMPurify$1 } from 'dompurify'; declare const DOMPurify: DOMPurify$1; declare const sanitize: DOMPurify$1["sanitize"]; declare const isSupported: boolean; declare const addHook: DOMPurify$1["addHook"]; declare const removeHook: DOMPurify$1["removeHook"]; declare const removeHooks: DOMPurify$1["removeHooks"]; declare const removeAllHooks: DOMPurify$1["removeAllHooks"]; declare const setConfig: DOMPurify$1["setConfig"]; declare const clearConfig: DOMPurify$1["clearConfig"]; declare const isValidAttribute: DOMPurify$1["isValidAttribute"]; declare const version: string; declare const removed: DOMPurify$1['removed']; declare function clearWindow(): void; export { addHook, clearConfig, clearWindow, DOMPurify as default, isSupported, isValidAttribute, removeAllHooks, removeHook, removeHooks, removed, sanitize, setConfig, version };