import type { Limiter } from './types/Limiter'; import type { LimiterOptions } from './types/LimiterOptions'; /** Creates a limiter which can be used to debounce or throttle a function call. */ export declare const useLimiter: ({ id, cancelOnUnmount, limitType, limitMode, limitMSec, priority, queue }: LimiterOptions & { /** A technical, but human-readable ID, which isn't guaranteed to be unique */ id: string; /** * If `true`, any previously scheduled functions are automatically canceled on unmount * * @defaultValue `false` */ cancelOnUnmount?: boolean; }) => Limiter; //# sourceMappingURL=use-limiter.d.ts.map