UNPKG

@dfinity/gix-components

Version:
9 lines (8 loc) 312 B
/** * Sanitize a text with DOMPurify. * * Note: this library needs a workaround to work in the NodeJS context - i.e. for our vitest test suite. * See the vitest.setup.ts for details. */ export declare const sanitize: (text: string) => string; export declare const nextElementId: (prefix: string) => string;