import type { Document as IceDocument } from '../../dom/document.js'; import type { Element as IceElement } from '../../dom/element.js'; interface Node { type: string; } interface Comment extends Node { type: 'comment'; content: string; } export interface Text extends Node { type: 'text'; content: string; } export interface Element extends Node { type: 'element'; tagName: string; children: ChildNode[]; attributes: string[]; } export interface ParsedElement extends IceElement { h5tagName?: string; } type ChildNode = Comment | Text | Element; export declare function parser(html: string, document: IceDocument): (import("../../index.js").Text | IceElement)[]; export {};