import type { RateLimitResult } from '../../types/index.js';
/** Minimum milliseconds required between consecutive tool calls. */
export declare const COOLDOWN_MS = 2000;
/**
 * Checks whether the caller has exceeded the daily call limit.
 * Returns an allowed result when maxCalls is -1 (unlimited).
 */
export declare function checkDailyLimit(callCount: number, maxCalls: number): RateLimitResult;
/**
 * Checks whether enough time has passed since the last tool call.
 * Passes when lastCallAt is null (no previous call recorded).
 */
export declare function checkCooldown(lastCallAt: string | null, now: Date): RateLimitResult;
//# sourceMappingURL=rate-limiter.d.ts.map