import { Context } from "react"; import { MultiPowerStorelike } from "../../data/operations"; export declare const jsonToArgString: (args: any) => string; export interface StoreMapContextlike { context: { [key: string]: any; }; setContext: (mod: (context: StoreMapContextlike['context']) => StoreMapContextlike['context']) => StoreMapContextlike['context']; subscribe: (sym: symbol, tick: () => void) => void; unsubscribe: (sym: symbol) => void; } export interface Subscriberslike { [key: symbol]: () => void; } export declare const StoreMap: WeakMap, StoreMapContextlike['context']>; export declare const StoreContextMap: WeakMap, Context>; export declare const StoreSubscribers: WeakMap, Subscriberslike>; export declare const FetchProgress: WeakMap, { [key: string]: boolean; }>; export declare const gorcStore: (store: MultiPowerStorelike) => StoreMapContextlike['context']; export declare const gorcSubscribers: (store: MultiPowerStorelike) => Subscriberslike; export declare const runSubscribers: (store: MultiPowerStorelike) => void; export declare const subscribeStore: (store: MultiPowerStorelike, sym: symbol, tick: () => void) => void; export declare const unsubscribeStore: (store: MultiPowerStorelike, sym: symbol) => void; export declare const useMultiPowerStore: (store: MultiPowerStorelike, toArgString?: (a: A) => string) => { get: (a: A) => T | undefined; };