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