import { RhSafeAny } from 'rh-base/model'; import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { NzMessageService } from 'ng-zorro-antd/message'; import * as i0 from "@angular/core"; /** * 节流拦截器 * @description 针对`POST`类型请求,且接口名称不是以get开头的接口有效 */ export declare class RhThrottleInterceptor implements HttpInterceptor { private msgSer; cache: Record; constructor(msgSer: NzMessageService); intercept(req: HttpRequest, next: HttpHandler): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }