var _a;
import { __name } from "./dist-chunks-mermaid.core-chunk-AGHRB4JF.js";
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();
  }
}, __name(_a, "ImperativeState"), _a);
export {
  ImperativeState
};
//# sourceMappingURL=dist-chunks-mermaid.core-chunk-QZHKN3VN.js.map
