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