import _merge from 'lodash/merge';
export var getterMiddlewares = [];
export var stateMiddlewares = [];
export var mutationMiddlewares = [];
export var actionMiddlewares = [];
export function addGetterMiddleware(...middlewares) {
    getterMiddlewares = _merge(getterMiddlewares, middlewares);
}
export function addStateMiddleware(...middlewares) {
    stateMiddlewares = _merge(stateMiddlewares, middlewares);
}
export function addMutationMiddleware(...middlewares) {
    mutationMiddlewares = _merge(mutationMiddlewares, middlewares);
}
export function addActionMiddleware(...middlewares) {
    actionMiddlewares = _merge(actionMiddlewares, middlewares);
}
//# sourceMappingURL=middlewares.js.map