"use strict";
var _a;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const chunkAGHRB4JF = require("./dist-chunks-mermaid.core-chunk-AGHRB4JF.cjs");
var ImperativeState = (_a = class {
  /**
   * @param init - Function that creates the default state.
   */
  constructor(init) {
    this.init = init;
    this.records = this.init();
  }
  reset() {
    this.records = this.init();
  }
}, chunkAGHRB4JF.__name(_a, "ImperativeState"), _a);
exports.ImperativeState = ImperativeState;
//# sourceMappingURL=dist-chunks-mermaid.core-chunk-QZHKN3VN.cjs.map
