/** * Manages a script. */ export class Script { /****************************************************************************\ * Constructor \****************************************************************************/ /** * Creates a new script. * * @param {string} scriptString The original script. */ constructor(scriptString: string); /****************************************************************************\ * Public instance methods \****************************************************************************/ /** * Retrieves the next line. * * @param {string | import('./Line.js').Line} [lineOrLineID] Either a Line or a Line ID from which to determine the next line to be returned. * @returns {import('./Line.js').Line | undefined} The next line to be rendered. */ getNextLine(lineOrLineID?: string | Line | undefined): import('./Line.js').Line | undefined; /****************************************************************************\ * Public getters/setters \****************************************************************************/ /** @returns {Map} A mapping of all nodes in this script. */ get nodes(): Map; /** @returns {string} The original, unparsed node. */ get original(): string; #private; } import { Line } from './Line.js'; import { Node } from './Node.js'; //# sourceMappingURL=Script.d.ts.map