import Request from './Request'; import { ValidatorHandleType } from './Validator'; export interface RawThrottleType { [path: string]: ValidatorHandleType; } export declare type DirectionType = 'In' | 'Out'; export default class Throttle { private name; private filterList; disable: boolean; filterMap: { [path: string]: ValidatorHandleType; }; constructor(name: string, throttle?: RawThrottleType); check(request: Request): boolean; }