import { useAtom } from 'jotai/react'; import { PrimitiveAtom } from 'jotai/vanilla'; type Options = Parameters[1]; export declare function useReducerAtom(anAtom: PrimitiveAtom, reducer: (v: Value, a?: Action) => Value, options?: Options): [ Value, (action?: Action) => void ]; export declare function useReducerAtom(anAtom: PrimitiveAtom, reducer: (v: Value, a: Action) => Value, options?: Options): [ Value, (action: Action) => void ]; export {}; declare type Awaited = T extends Promise ? V : T;