UNPKG

193 BTypeScriptView Raw
1import type { State, StoreApi } from 'zustand/vanilla';
2export declare function atomWithStore<T extends State>(store: StoreApi<T>): import("jotai").WritableAtom<T, T | ((prev: T) => T), void>;