import GirafeConfig from '../configuration/girafeconfig.js';
/**
 * Use DOMPurify.sanitize to remove potentially harmful html/js code.
 * @param unsanitized the raw text to sanitize.
 * @param config Allowed tags and elements in a string.
 */
export declare const sanitize: (unsanitized: string, config: GirafeConfig) => string;
