export interface Modal {
  state: any;
  component: string;
  payload?: any;
  confirm: (res: any) => void;
  open: (component: string, payload?: any) => Promise<(resolve: () => any, reject: () => any) => void>;
  cancel: () => void;
  _resolve: (r?: any) => any;
  _reject: (r?: any) => any;
}
