/** * Manages a node. */ export class Node { /****************************************************************************\ * Private static properties \****************************************************************************/ /** @type {Map} */ static "__#7@#collection": Map; /****************************************************************************\ * Public static methods \****************************************************************************/ /** * Gets a node from the global collection by its ID. * * @param {string} nodeID The ID of the node to be retrieved. * @returns {Node | undefined} The retrieved node. */ static getByID(nodeID: string): Node | undefined; /****************************************************************************\ * Constructor \****************************************************************************/ /** * Creates a new Node. * * @param {string} nodeString The original, unparsed node string. */ constructor(nodeString: string); /****************************************************************************\ * Public getters/setters \****************************************************************************/ /** @returns {string} A unique identifier for this node. */ get id(): string; /** @returns {Map} All lines in this node. */ get lines(): Map; /** @returns {Map} Node metadata. */ get meta(): Map; /** @returns {string} The original, unparsed node. */ get original(): string; /** @returns {Line} The first line in the node. */ get firstLine(): Line; #private; } import { Line } from './Line.js'; //# sourceMappingURL=Node.d.ts.map