export interface ThrottleConfig { /** Maximum number of requests allowed within the window. */ limit: number; /** Fixed-window duration in milliseconds. */ windowMs: number; } /** * Apply a fixed-window rate limit to a controller or a single handler. Handler * config overrides controller config. Requires the `ThrottleGuard` to be * registered (globally or via `@UseGuards`). */ export declare const Throttle: (config: ThrottleConfig) => ClassDecorator & MethodDecorator; /** Exempt a controller or handler from throttling. */ export declare const SkipThrottle: () => ClassDecorator & MethodDecorator; /** Resolve the effective throttle config for a route (handler wins over class). */ export declare const resolveThrottleConfig: (controller: object, handlerName?: string | symbol) => ThrottleConfig | undefined; /** Whether a route (or its controller) is exempt from throttling. */ export declare const isThrottleSkipped: (controller: object, handlerName?: string | symbol) => boolean; //# sourceMappingURL=metadata.d.ts.map