import { CallHandler, ExecutionContext, NestInterceptor } from '@nestjs/common'; import { HttpAdapterHost, Reflector } from '@nestjs/core'; import { Observable } from 'rxjs'; /** * @see [Caching](https://docs.nestjs.com/techniques/caching) * * @publicApi */ export declare class CacheInterceptor implements NestInterceptor { protected readonly cacheManager: any; protected readonly reflector: Reflector; protected readonly httpAdapterHost: HttpAdapterHost; protected allowedMethods: string[]; constructor(cacheManager: any, reflector: Reflector); intercept(context: ExecutionContext, next: CallHandler): Promise>; protected trackBy(context: ExecutionContext): Promise | string | undefined | null; protected isRequestCacheable(context: ExecutionContext): boolean; protected setHeadersWhenHttp(context: ExecutionContext, value: any): void; }