/**
 * Sanitizes html string from malicious attributes, values, and scripts
 * Can also filter elements at the top nesting level by tag names.
 * @param html - html string to sanitize
 * @param allowedTopLevelTags - array of allowed tag names
 */
export declare function sanitize(html: string, allowedTopLevelTags?: string[]): string;
