UNPKG

@turbox3d/reactivity

Version:

Large-scale reactive state management library

18 lines (17 loc) 636 B
import { Store } from '../interfaces'; export declare let store: Store; export interface ActionType { name: string; displayName: string; } export declare const actionTypeChain: ActionType[]; export interface RegisterExternalBatchUpdateParam { handler: (callback: () => void, finish?: () => void) => void | Promise<void>; idCustomType: string; } export interface IdToListenersInfo { listeners: Function[]; idCustomType?: string; } export declare const registerExternalBatchUpdate: (obj: RegisterExternalBatchUpdateParam) => void; export declare function createStore(enhancer: (createStore: any) => Store): Store;