export declare function getPathTo(element: Node): string; interface IJsonNode { nodeType: number; tagName?: string; nodeValue?: string; nodeName?: string; namespace: string | null; attributes: { namespace: string | null; name: string; value: string; }[]; children: IJsonNode[]; } export declare function treeToJSON(node: Node): IJsonNode; export declare function nodeToJSON(node: Node): IJsonNode; export {};