/** * @module exome/svelte */ import { type Exome } from "exome"; /** * Subscribes to store instance update events and trigger updates to component accordingly. * * @example: * ```html * * *
* *
* ``` */ export declare function useStore(store: T, selector?: (state: T) => R): { subscribe(cb: (value: R) => void): () => void; };