import { DOMAdapter, XMLDocument, XMLElement, XMLNode } from '../core/dom-adapter'; import { URLFactory } from '../core/url-factory'; /** * Node.js implementation of DOMAdapter using @xmldom/xmldom. */ export declare class NodeDOMAdapter implements DOMAdapter { private DOMParser; private XMLSerializer; constructor(); parseXML(str: string): XMLDocument; parseHTML(str: string, _mimeType?: string): XMLDocument; serialize(doc: XMLDocument): string; getChildNodes(element: XMLElement): XMLNode[]; } /** * Node.js implementation of URLFactory using mock URLs. * In a real Node environment, this might store files in memory or a temp dir. */ export declare class NodeURLFactory implements URLFactory { private counter; private urls; createURL(data: string | ArrayBuffer | Blob, mimeType?: string): string; revokeURL(url: string): void; getData(url: string): { data: string | ArrayBuffer | Blob; mimeType: string; } | undefined; hasURL(url: string): boolean; } //# sourceMappingURL=node.d.ts.map