/** * @module exome/preact */ import { type Exome } from "exome"; /** * Subscribes to store instance update events and trigger updates to component accordingly. * * @example: * ```ts * import { useStore } from "exome/preact" * import { counterStore } from "./counter.store.ts" * * function App() { * const { count, increment } = useStore(counterStore) * * return ( * * ); * } * ``` */ export declare function useStore(store: T): Readonly;