import { WatchDeps, WatchCallback, WatchStopHandle } from '../watch/index.js'; import { OnOptions } from 'solid-js/types/reactive/signal'; import { ConfigurableEventFilter } from '../utils/filters.js'; import { MapSources, MapOldSources } from '../utils/types.js'; import 'solid-js'; interface WatchWithFilterOptions extends OnOptions, ConfigurableEventFilter { } declare function watchWithFilter>>>(sources: [...T], cb: WatchCallback, MapOldSources>, options?: WatchWithFilterOptions): WatchStopHandle; declare function watchWithFilter(source: WatchDeps, cb: WatchCallback, options?: WatchWithFilterOptions): WatchStopHandle; declare function watchWithFilter(source: T, cb: WatchCallback, options?: WatchWithFilterOptions): WatchStopHandle; export { WatchWithFilterOptions, watchWithFilter };