import type { Ref } from '@stacksjs/stx'; /** * Watch a source and call the callback immediately with the current value, then on changes. */ export declare function watchImmediate(source: Ref, callback: (value: T) => void): () => void;