import { DefuddleMetadata } from './types'; /** * Cleanup pass for HTML built by a site extractor. * * Extractor output skips standardizeContent entirely (see _sanitizeExtractorHtml), * so without this it keeps everything the site put there: every `style`, `class`, * and `id` lifted along with the message body, plus the `

` spacers * rich-text composers emit for a paragraph break. A Gmail thread arrives as a stack * of divs each repeating the sender's font stack, every other one holding nothing * but a line break. * * This is the subset of standardizeContent's steps that applies to already-built * markup, in the same relative order. It lives here rather than at the call site so * that "which steps, and in what order" stays with the module that owns them. */ export declare function standardizeExtractorOutput(element: Element, debug?: boolean): void; export declare function standardizeContent(element: Element, metadata: DefuddleMetadata, doc: Document, debug?: boolean, subProfile?: Record): void; export declare function removeOrphanedDividers(element: Element): void;