import { useAtom } from '../../react.js'; import type { PrimitiveAtom } from '../../vanilla.js'; type Options = Parameters[1]; /** * @deprecated please use a recipe instead * https://github.com/pmndrs/jotai/pull/2467 */ export declare function useReducerAtom(anAtom: PrimitiveAtom, reducer: (v: Value, a?: Action) => Value, options?: Options): [Value, (action?: Action) => void]; /** * @deprecated please use a recipe instead * https://github.com/pmndrs/jotai/pull/2467 */ export declare function useReducerAtom(anAtom: PrimitiveAtom, reducer: (v: Value, a: Action) => Value, options?: Options): [Value, (action: Action) => void]; export {};