import { MaybeAccessor, MapSources, MapOldSources } from '../utils/types.js'; import { WatchOptions, WatchSource, WatchCallback, WatchStopHandle } from '../watch/index.js'; import 'solid-js'; import 'solid-js/types/reactive/signal'; interface WatchThrottledOptions extends WatchOptions { throttle?: MaybeAccessor; trailing?: boolean; leading?: boolean; } declare function watchThrottled>>>(sources: [...T], cb: WatchCallback, MapOldSources>, options?: WatchThrottledOptions): WatchStopHandle; declare function watchThrottled(source: WatchSource, cb: WatchCallback, options?: WatchThrottledOptions): WatchStopHandle; declare function watchThrottled(source: T, cb: WatchCallback, options?: WatchThrottledOptions): WatchStopHandle; export { WatchThrottledOptions, watchThrottled as throttledWatch, watchThrottled };