import { type Store } from "solid-js/store"; /** * Tracks all nested changes to passed {@link store}. * * @param store a reactive store proxy * @returns same {@link store} that was passed in * * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/deep#trackStore * * @example * ```ts * createEffect(on( * () => trackStore(store), * () => { * // this effect will run when any property of store changes * } * )); * ``` */ declare function trackStore(store: Store): T; export { trackStore };