/** * @module node-opcua-address-space * * The XML producer: the reader states of a NodeSet2 document, emitting one {@link NodesetRecord} * per node instead of creating the node. Ids stay in the file's own namespace table; aliases are * resolved here, so no record refers to an alias by name. */ import { type NodesetRecord } from "./nodeset_record.js"; /** a document fed piece by piece; `write` and `end` return the records the piece completed */ export interface XmlNodesetRecordReader { write(chunk: string): NodesetRecord[]; end(): NodesetRecord[]; } export declare function makeXmlNodesetRecordReader(): XmlNodesetRecordReader; /** the records of a NodeSet2 document delivered as text chunks */ export declare function xmlNodesetRecords(chunks: AsyncIterable | Iterable): AsyncGenerator;