import type { PrimitiveAtom } from 'jotai'; import type { Scope } from '../core/atom'; 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];