"use strict";

export const events = {
  navigationButtonPressed: [_event => {}],
  componentWillAppear: [_event => {}],
  componentDidAppear: [_event => {}],
  componentDidDisappear: [_event => {}],
  modalDismissed: [_event => {}],
  bottomTabPressed: [_event => {}],
  commandCompleted: [_event => {}],
  screenPopped: [_event => {}],
  invokeComponentWillAppear: event => {
    events.componentWillAppear && events.componentWillAppear.forEach(listener => {
      listener(event);
    });
  },
  invokeComponentDidAppear: event => {
    events.componentDidAppear && events.componentDidAppear.forEach(listener => {
      listener(event);
    });
  },
  invokeComponentDidDisappear: event => {
    events.componentDidDisappear && events.componentDidDisappear.forEach(listener => {
      listener(event);
    });
  },
  invokeModalDismissed: event => {
    events.modalDismissed && events.modalDismissed.forEach(listener => {
      listener(event);
    });
  },
  invokeNavigationButtonPressed: event => {
    events.navigationButtonPressed && events.navigationButtonPressed.forEach(listener => {
      listener(event);
    });
  },
  invokeBottomTabPressed: event => {
    events.bottomTabPressed && events.bottomTabPressed?.forEach(listener => {
      listener(event);
    });
  },
  invokeCommandCompleted: event => {
    events.commandCompleted && events.commandCompleted.forEach(listener => {
      listener(event);
    });
  },
  invokeScreenPopped: event => {
    events.screenPopped && events.screenPopped.forEach(listener => {
      listener(event);
    });
  }
};
//# sourceMappingURL=EventsStore.js.map