import { Options as RateLimitOptions } from "express-rate-limit"; import { ArkosGatewayStore } from "../types"; /** * Checks whether a socket has exceeded the rate limit for a given event. * Returns true if the request is allowed, false if rate limited. */ export declare function checkRateLimit(socketId: string, event: string, options: Partial, store: ArkosGatewayStore): Promise<{ allowed: boolean; retryAfter?: number; }>; export declare function clearRateLimitForSocket(socketId: string, store: ArkosGatewayStore): Promise;