import type { DocumentFragment, Element, Node, ParentNode } from "../../node_modules/parse5/dist/tree-adapters/default.js"; import { DiagnosticLocationPair } from "../diagnostics.js"; export type { DocumentFragment, Element }; export declare function traverseElements(node: Node, ignoreTagNames: (tagName: string) => boolean): Generator; export declare function isParentNode(node: Node): node is ParentNode; export declare function getAttributeValue(element: Element, name: string): string | undefined; export declare function analyzeElementContent(element: Element, ignoreTextContent: (textContent: string) => boolean): { text: string; hasText: boolean; hasElements: boolean; }; export declare namespace treeDiagnostics { function content(element: Element): DiagnosticLocationPair; function attribute(element: Element, name: string): DiagnosticLocationPair; function startTag(element: Element): DiagnosticLocationPair; }