export var FlashTypes;
(function (FlashTypes) {
  FlashTypes["SUCCESS"] = "success";
  FlashTypes["WARNING"] = "warning";
  FlashTypes["INFO"] = "warning";
  FlashTypes["ERROR"] = "error";
})(FlashTypes || (FlashTypes = {}));
export class FlashEvent extends CustomEvent {
  constructor(type = FlashTypes.SUCCESS, msg) {
    super("corejam:flash", { detail: { type, msg } });
  }
}
