import type { Config } from "../config/loader.js"; export interface RateLimitAllowed { allowed: true; } export interface RateLimitBlocked { allowed: false; retryAfterMs: number; } export type RateLimitResult = RateLimitAllowed | RateLimitBlocked; export declare function checkRateLimit(config: Config): RateLimitResult; export declare function resetRateLimit(): void;