index.d.ts 563 B

123456
  1. import { type TreeAdapterTypeMap, type TreeAdapter } from 'parse5';
  2. import { type AnyNode, type ParentNode, type ChildNode, Element, Document, ProcessingInstruction, Comment, Text } from 'domhandler';
  3. export type Htmlparser2TreeAdapterMap = TreeAdapterTypeMap<AnyNode, ParentNode, ChildNode, Document, Document, Element, Comment, Text, Element, ProcessingInstruction>;
  4. /** @internal */
  5. export declare function serializeDoctypeContent(name: string, publicId: string, systemId: string): string;
  6. export declare const adapter: TreeAdapter<Htmlparser2TreeAdapterMap>;