import ActionContext from './ActionContext'; import ActionFunction from './ActionFunction'; import LegacyMiddleware from './LegacyMiddleware'; export default function applyMiddleware(...middleware: LegacyMiddleware[]): void; export declare function dispatchWithMiddleware(action: ActionFunction, actionType: string, args: IArguments, actionContext: ActionContext): void;