/**
 * Custom hook for rate limiting function calls
 *
 * @param limit - Maximum number of calls allowed (default: 10)
 * @param windowMs - Time window in milliseconds (default: 1000)
 * @returns A function that returns true if the call is allowed, false otherwise
 *
 * @example
 * ```tsx
 * import { useRateLimit } from '@/lib/hooks/use-rate-limit';
 *
 * const checkRateLimit = useRateLimit(10, 1000);
 *
 * const handleInput = () => {
 *   if (!checkRateLimit()) {
 *     console.warn('Rate limit exceeded');
 *     return;
 *   }
 *   // Process input
 * };
 * ```
 */
export declare function useRateLimit(limit?: number, windowMs?: number): () => boolean;
