/** * Compares two pieces of HTML content and returns the combined content with differences * wrapped in and tags. * @param before The HTML content before the changes. * @param after The HTML content after the changes. * @param className (Optional) The class attribute to include in `` and `` tags. * @param dataPrefix (Optional) The data prefix to use for data attributes. The operation index data * attribute will be named `data-${dataPrefix-}operation-index`. * @param atomicTags (Optional) Comma separated list of tag names. The list has to be in the form * `tag1,tag2,...` e. g. `head,script,style`. An atomic tag is one whose child nodes should not be * compared - the entire tag should be treated as one token. This is useful for tags where it does * not make sense to insert `` and `` tags. If not used, the default list * `iframe,object,math,svg,script,video,head,style` will be used. * @return The combined HTML content with differences wrapped in `` and `` tags. */ declare function diff(before: string, after: string, className?: string | null, dataPrefix?: string | null, atomicTags?: string | null): string; export = diff;