import type { CleanHtmlOptions, CleanHtmlResult } from './types.js'; /** * Cleans HTML attributes while preserving tag and text structure. * * Can remove common noisy attributes (`class`, `id`, `style`, `data-*`), * enforce allow/deny lists, collapse whitespace, and remove empty tags. * * @param options - HTML cleanup options. * @returns Cleaned HTML and warning codes. * * @example * cleanHtml({ * html: '

Hello

', * removeClasses: true, * removeIds: true, * removeStyle: true, * }); */ export declare const cleanHtml: ({ html, removeClasses, removeIds, removeStyle, removeDataAttributes, removeAttributes, keepAttributes, collapseWhitespace, removeEmptyTags, }: CleanHtmlOptions) => CleanHtmlResult;