1 | import { WritableAtom } from 'jotai';
|
2 | export declare function atomWithReducer<Value, Action>(initialValue: Value, reducer: (value: Value, action?: Action) => Value): WritableAtom<Value, Action | undefined>;
|
3 | export declare function atomWithReducer<Value, Action>(initialValue: Value, reducer: (value: Value, action: Action) => Value): WritableAtom<Value, Action>;
|
4 | declare type Awaited<T> = T extends Promise<infer V> ? V : T; |
\ | No newline at end of file |