export declare class SharedState<V = any> {
    _value: V;
    watchers: ((value: V) => void)[];
    constructor(value: V);
    get value(): V;
    set value(value: V);
    addWatcher(watcher: (value: V) => void): () => void;
}
export declare function useWatchSharedState<T>(state: SharedState<T>): T;
//# sourceMappingURL=SharedState.d.ts.map