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