import { Accessor, OnOptions } from 'solid-js/types/reactive/signal'; declare type WatchArrayCallback = (value: V, oldValue: OV, added: V, removed: OV) => any; /** * Watch for an array with additions and removals. * * @see https://solidjs-use.github.io/solidjs-use/shared/watchArray */ declare function watchArray = false>(source: Accessor, cb: WatchArrayCallback, options?: OnOptions): () => void; export { WatchArrayCallback, watchArray };