import { useEffect } from 'react';
import { useThrottledCallback } from '../useThrottledCallback/index.js';
export function useThrottledEffect(callback, deps, delay, noTrailing = false) {
    useEffect(useThrottledCallback(callback, deps, delay, noTrailing), deps);
}
