type HtmlTagMatch = { tagName: string; attributes: string; content: string; fullMatch: string; index: number; }; type HeadingTagMatch = HtmlTagMatch & { level: 1 | 2 | 3 | 4 | 5 | 6; }; type SingleHtmlTagMatch = { tagName: string; attributes: string; fullMatch: string; index: number; selfClosing: boolean; }; type HtmlAttribute = { name: string; value?: string; }; type FilterHtmlAttributesOptions = { removeClasses?: boolean; removeIds?: boolean; removeStyle?: boolean; removeDataAttributes?: boolean; removeAttributes?: string[]; keepAttributes?: string[]; }; export declare const decodeHtmlEntities: (text: string) => string; export declare const stripHtmlTags: (text: string) => string; export declare const getPlainTextFromHtml: (html: string) => string; export declare const parseHtmlAttributes: (attributeString: string) => HtmlAttribute[]; export declare const serializeHtmlAttributes: (attributes: HtmlAttribute[]) => string; export declare const filterHtmlAttributes: (attributes: HtmlAttribute[], options: FilterHtmlAttributesOptions) => HtmlAttribute[]; export declare function matchHtmlTags(html: string, tagName: string): Generator; export declare function matchSingleHtmlTags(html: string, tagName: string): Generator; export declare function matchHeadingTags(html: string): Generator; export declare const getHtmlAttributeValue: (attributeString: string, attributeName: string) => string | undefined; export {};