1 | import { PrimitiveAtom } from 'jotai';
|
2 | export declare function useReducerAtom<Value, Action>(anAtom: PrimitiveAtom<Value>, reducer: (v: Value, a?: Action) => Value): [
|
3 | Value,
|
4 | (action?: Action) => void
|
5 | ];
|
6 | export declare function useReducerAtom<Value, Action>(anAtom: PrimitiveAtom<Value>, reducer: (v: Value, a: Action) => Value): [
|
7 | Value,
|
8 | (action: Action) => void
|
9 | ];
|