UNPKG

723 BTypeScriptView Raw
1export { Provider } from './core/Provider';
2export { atom } from './core/atom';
3export { useAtom } from './core/useAtom';
4export type { Atom, WritableAtom, PrimitiveAtom, Getter, Setter, } from './core/atom';
5export type { ExtractAtomValue, ExtractAtomUpdate, SetStateAction, } from './core/typeUtils';
6/**
7 * This is exported for internal use only.
8 * It can change without notice. Do not use it in application code.
9 */
10export { getStoreContext as SECRET_INTERNAL_getStoreContext } from './core/contexts';
11/**
12 * This is exported for internal use only.
13 * It can change without notice. Do not use it in application code.
14 */
15export { useMutableSource as SECRET_INTERNAL_useMutableSource } from './core/useMutableSource';