jotai
Version:
👻 Primitive and flexible state management for React
6 lines (5 loc) • 341 B
TypeScript
import type { INTERNAL_Store } from './internals.js';
export type Store = Pick<INTERNAL_Store, 'get' | 'set' | 'sub'>;
export declare function INTERNAL_overrideCreateStore(fn: (prev: typeof createStore | undefined) => typeof createStore): void;
export declare function createStore(): Store;
export declare function getDefaultStore(): Store;