import { Observable } from 'rxjs' ; export type Action < T = unknown > = new ( payload ? ) => any ; export type DispatchFactory = ( actionOrActions : ActionOrActions ) => void ; export type ActionOrActions = Action | Action [ ] ; Dispatch Dispatch export type Wrapped = ActionOrActions | Observable < ActionOrActions > | Promise < ActionOrActions > ; export interface DispatchOptions { cancelUncompleted ? : boolean ; }