import { CallHandler, ExecutionContext, NestInterceptor } from '@nestjs/common';
import { Observable } from 'rxjs';
import { RedisCacheService } from './redis-cache.service';
export declare const STALE_HEADER = "X-Cache";
export declare const STALE_VALUE = "STALE";
export declare class StaleCacheInterceptor implements NestInterceptor {
    private readonly cache;
    private readonly logger;
    constructor(cache: RedisCacheService);
    intercept(context: ExecutionContext, next: CallHandler): Observable<unknown>;
}
