/** * @module node-opcua-address-space.Private */ import type { BaseNode, IEventData } from "node-opcua-address-space-base"; import { NodeId } from "node-opcua-nodeid"; import { type BrowsePath, BrowsePathResult } from "node-opcua-types"; import { Variant, type VariantLike } from "node-opcua-variant"; import type { EventField } from "./event_layout.js"; type FullBrowsePath = string; /** */ export declare class EventData implements IEventData { #private; eventId: NodeId; /** * @param pathToNodeId the browse-path index of the event layout, shared by every event of the type; * an event built field by field (a condition snapshot) keeps an index of its own */ constructor(eventTypeNode: BaseNode, pathToNodeId?: Map); getEventDataSource(): BaseNode; _createValue(fullBrowsePath: string, node: BaseNode, variant: VariantLike): void; /** the value of one field of the layout */ _setField(field: EventField, variant: VariantLike): void; _browse(browsePath: BrowsePath): BrowsePathResult | null; _readValue(nodeId: NodeId): Variant | null; } export {};