import { UnknownAction } from 'redux';
import { StoreAction, StoreActionCreator } from '../../types';
export type StoreReducer<S, A> = (state: S, action: A) => S;
export declare const createReducer: <S, A extends StoreAction<any> = StoreAction<any>>(initialState: S) => {
    (state: S | undefined, action: StoreAction<any> | UnknownAction): S;
    with: <ARGS extends any[], PL = ARGS>(action: StoreActionCreator<ARGS, PL>, reducer: StoreReducer<S, StoreAction<PL>>) => /*elided*/ any;
    initialState: S;
};
//# sourceMappingURL=create-reducer.d.ts.map