UNPKG

kosha

Version:

⚡A modern, lightweight, fast, and powerful global state management library for modern React.js projects.

10 lines (9 loc) 358 B
import { BaseType, StoreCreator } from ".."; export declare const storeResetFns: Set<() => void>; export declare const create: <T extends BaseType>(creator: StoreCreator<T>) => { (): T; <U>(selectorFunc: (state: T) => U): U; getState: () => T | null; setState: import("..").StateSetter<T>; }; export declare const resetAllStores: () => void;