import { UseHistoryTravelOptions, UseHistoryTravelAccessorReturn, UseHistoryTravelSignalReturn } from '../useHistoryTravel/index.js'; import { MaybeAccessor } from '@solidjs-use/shared'; import { Accessor, Signal } from 'solid-js'; import '../useManualHistoryTravel/index.js'; import '../useCloned/index.js'; import 'solid-js/types/reactive/signal'; type UseThrottledHistoryTravelOptions = Omit, 'eventFilter'> & { throttle?: MaybeAccessor; trailing?: boolean; }; type UseThrottledHistoryTravelAccessorReturn = UseHistoryTravelAccessorReturn; type UseThrottledHistoryTravelSignalReturn = UseHistoryTravelSignalReturn; /** * Shorthand for `useHistoryTravel` with throttled filter. * * @see https://solidjs-use.github.io/solidjs-use/core/useThrottledHistoryTravel */ declare function useThrottledHistoryTravel(source: Accessor, options?: UseThrottledHistoryTravelOptions): UseThrottledHistoryTravelAccessorReturn; declare function useThrottledHistoryTravel(source: Signal, options?: UseThrottledHistoryTravelOptions): UseThrottledHistoryTravelSignalReturn; export { UseThrottledHistoryTravelAccessorReturn, UseThrottledHistoryTravelOptions, UseThrottledHistoryTravelSignalReturn, useThrottledHistoryTravel };