import { UpduxConfig, Dictionary, Action, ActionCreator, Mutation, Upreducer, UpduxMiddleware } from './types'; import { 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: UpduxMiddleware; readonly actions: Dictionary; readonly upreducer: Upreducer; readonly reducer: (state: S | undefined, action: Action) => S; readonly mutations: Dictionary>; readonly subduxUpreducer: Upreducer; readonly createStore: () => StoreWithDispatchActions; readonly asDux: Dux; addMutation(creator: A, mutation: Mutation infer R ? R : never>, isSink?: boolean): void; } export default Updux; //# sourceMappingURL=updux.d.ts.map