import { UpduxConfig, Dictionary, Action, ActionCreator, Mutation, Upreducer, UpduxDispatch } from './types'; import { Middleware, Store } from 'redux'; export { actionCreator } from './buildActions'; declare type StoreWithDispatchActions Action; }> = Store & { dispatch: { [type in keyof Actions]: (...args: any) => void; }; }; export declare type Dux = Pick, 'subduxes' | 'actions' | 'initial' | 'mutations' | 'reducer' | 'middleware' | 'createStore' | 'upreducer'>; export declare class Updux { subduxes: Dictionary; initial: S; groomMutations: (mutation: Mutation) => Mutation; private localEffects; private localActions; private localMutations; constructor(config?: UpduxConfig); readonly middleware: Middleware<{}, S, UpduxDispatch>; readonly actions: Dictionary; readonly upreducer: Upreducer; readonly reducer: (state: S | undefined, action: Action) => S; readonly mutations: Dictionary>; readonly createStore: () => StoreWithDispatchActions; readonly asDux: Dux; addMutation(creator: A, mutation: Mutation infer R ? R : never>): void; } export default Updux; //# sourceMappingURL=updux.d.ts.map