import type { Ref } from '@stacksjs/stx'; /** * Watch a source with deep comparison by serializing to JSON. * Since stx watch is shallow, this provides deep-watch behavior by * comparing JSON serializations. */ export declare function watchDeep(source: Ref, callback: (value: T) => void, options?: { immediate?: boolean }): () => void;