import { HttpClientPersistance } from "../HttpClientPersistance.js";

export interface Store {
  parent: HttpClientPersistance;

  /**
   * A logic to be implemented when the model starts-up.
   * It is optional to implement but always called.
   */
  warmup: () => Promise<void>;

  /**
   * Cleans up before shut down.
   * It is optional to implement but always called.
   */
  cleanup: () => Promise<void>;
}
