import { Accessor } from 'solid-js'; import { MaybeAccessor, MapSources, MapOldSources } from '../utils/types.js'; import { WatchStopHandle, WatchSource, WatchCallback } from '../watch/index.js'; import { WatchWithFilterOptions } from '../watchWithFilter/index.js'; import 'solid-js/types/reactive/signal'; import '../utils/filters.js'; interface WatchAtMostOptions extends WatchWithFilterOptions { count: MaybeAccessor; } interface WatchAtMostReturn { stop: WatchStopHandle; count: Accessor; } declare function watchAtMost>>>(sources: [...T], cb: WatchCallback, MapOldSources>, options: WatchAtMostOptions): WatchAtMostReturn; declare function watchAtMost(sources: WatchSource, cb: WatchCallback, options: WatchAtMostOptions): WatchAtMostReturn; export { WatchAtMostOptions, WatchAtMostReturn, watchAtMost };