import type { InferTypeOfParams } from '../lib/type_builders.ts'; import type { UntypedReducerDef } from '../sdk/reducers.ts'; import type { Prettify } from '../lib/type_util.ts'; type IsEmptyObject = [keyof T] extends [never] ? true : false; type MaybeParams = IsEmptyObject extends true ? [] : [params: T]; type ParamsType = MaybeParams>>; export declare function useReducer(reducerDef: ReducerDef): (...params: ParamsType) => Promise; export {}; //# sourceMappingURL=useReducer.d.ts.map