import { BufferReader } from "../BufferReader"; import { BufferWriter } from "../BufferWriter"; export type NetworkedDOMV02TextNodeDescription = { type: "text"; nodeId: number; text: string; }; export type NetworkedDOMV02ElementNodeDescription = { type: "element"; nodeId: number; tag: string; attributes: Array<[string, string | null]>; children: Array; visibleTo?: Array; hiddenFrom?: Array; text?: string; }; export type NetworkedDOMV02NodeDescription = NetworkedDOMV02ElementNodeDescription | NetworkedDOMV02TextNodeDescription; export declare function encodeNodeDescription(writer: BufferWriter, nodeDescription: NetworkedDOMV02NodeDescription): void; export declare function decodeNodeDescription(buffer: BufferReader): NetworkedDOMV02NodeDescription; //# sourceMappingURL=nodeDescription.d.ts.map