import { _ as r } from "./index-DeBlJN4f.js";
var t, e = (t = class {
  /**
   * @param init - Function that creates the default state.
   */
  constructor(i) {
    this.init = i, this.records = this.init();
  }
  reset() {
    this.records = this.init();
  }
}, r(t, "ImperativeState"), t);
export {
  e
};
