import type { AnyStore } from "../store/Store.js";
/** Subscribe to a Shelving `Store` instance to refresh this component when its value changes. */
export declare function useStore<T extends AnyStore>(store: T): T;
export declare function useStore<T extends AnyStore>(store?: T | undefined): T | undefined;
