import type { Ref } from '@stacksjs/stx'; /** * Watch an array ref and provide added/removed items in the callback. */ export declare function watchArray(source: Ref, callback: (newList: T[], oldList: T[], added: T[], removed: T[]) => void): () => void;