import { Reducer } from 'react'; export declare type ThunkAction = (dispatch: React.Dispatch, getState: () => State) => void; /** * Can be used the same way as useReducer, but allows functions to be passed as * actions (aka thunks). */ export declare function useThunkReducer(reducer: Reducer, initialState: State, initializer?: (arg: State) => State): [State, React.Dispatch>];