export interface Store { useLocalState(initialState: T): readonly [T, (value: T) => void]; useSharedState(key: string | symbol): (initialState: T) => readonly [T, (value: T) => void]; } interface SharedStore { getLocalStateFunction(key: string | symbol, countKey: symbol): (initialState: T) => readonly [T, (value: T) => void]; useSharedState(key: string | symbol): (initialState: T) => readonly [T, (value: T) => void]; } /** A store that holds on to state for a transform */ export declare class LocalStateStore implements SharedStore { private state; private updateCallback?; constructor(onUpdate?: () => void); removeKey(key: symbol | string): void; reset(): void; useSharedState(key: string | symbol): (initialState: T) => readonly [T, (newState: T) => void]; getLocalStateFunction(key: symbol, countKey: symbol): (initialState: T) => readonly [T, (newState: T) => void]; } export {}; //# sourceMappingURL=store.d.ts.map