import { Dispatch } from "redux"; export interface ErrorHandler { (error: Error): Promise; } export interface Executor { (meta: any, ...args: any[]): Promise; } export declare const performAsyncAction: (dispatch: Dispatch) => (actionType: string, fn: Executor, errorHandler?: ErrorHandler) => (meta?: any) => (...args: any[]) => Promise;