import { UIDLElementNode } from '@teleporthq/teleport-types'; import { NestingContext, NestingResolverContext } from './types'; /** * The DOM-restructuring nestings that have no lossless repair. * * Every one of them either removes an element the page needs (`
` inside * `` — the inner one is never created) or moves it somewhere else * (`
` inside `` is foster-parented out of the table). Renaming a * tag to make the markup parse would silently drop the behaviour the element * was added for, so these are reported rather than rewritten: the fix belongs * in whatever produced the tree. * * Paragraph content is deliberately absent — it IS repairable losslessly, and * `paragraph-repair` handles it. */ export declare const reportUnrepairableNesting: (node: UIDLElementNode, tag: string, nesting: NestingContext, context: NestingResolverContext) => void; /** * `ancestorInfo` bookkeeping for the tags whose duplicates the parser rejects. * ``, `