declare type AnyFunc = (...args: any[]) => any; declare type GetStateFn = () => S; declare type MapUpdateGetStateFn = SingleUpdateProp extends AnyFunc ? (...params: Parameters) => (getState: GetStateFn) => ReturnType : SingleUpdateProp; declare type MapUpdate = { [K in keyof UpdateProps]: UpdateProps[K] | MapUpdateGetStateFn; }; export type { AnyFunc, GetStateFn, MapUpdateGetStateFn, MapUpdate, }; //# sourceMappingURL=types.d.ts.map