import { Box } from './box.js'; import { ComputedPlainStyle, DeclaredPlainStyle } from './cascade.js'; export declare class TextNode { id: string; style: ComputedPlainStyle; text: string; constructor(id: string, text: string, style: ComputedPlainStyle); repr(indent?: number): string; } export declare class HTMLElement { id: string; tagName: string; style: ComputedPlainStyle; parent: HTMLElement | null; attrs: { [k: string]: string; }; declaredStyle: DeclaredPlainStyle | null; children: (TextNode | HTMLElement)[]; boxes: Box[]; constructor(id: string, tagName: string, style: ComputedPlainStyle, parent?: HTMLElement | null, attrs?: { [k: string]: string; }, declaredStyle?: DeclaredPlainStyle); getEl(stack: number[]): HTMLElement | TextNode; repr(indent?: number, styleProp?: keyof ComputedPlainStyle): string; query(selector: string): HTMLElement[]; }