export declare type VDOMNode = string | VDOM; export interface VDOM { tagName: string; attributes: T; children: null | VDOMNode[]; } export interface XMLSerializable { toXML: (doc?: Document) => Element; } export interface VDOMSerializable { tagName: string; toVDOM: (doc?: Document) => VDOM; } /** * Base entity */ export declare class XLMBaseEntity implements XMLSerializable, VDOMSerializable { private _attributes; private _children; readonly tagName: string; constructor(_attributes: T, _children?: (string | (XMLSerializable & VDOMSerializable))[] | undefined); toXML(doc?: Document): Element; toVDOM(): VDOM; }