import { Apm } from '../apm/apm'; import { CacheInterface } from './cache.interface'; import { CompressionInterface } from './compression.interface'; export declare class Cache { protected isVerifyngOriginalCache: boolean; protected instance: string; protected apm?: Apm; constructor(instance?: string, apm?: Apm); verifyOriginalDriverOnError(cacheHash: string, force?: boolean): Promise; protected startSpan(span: string, func: Function): Promise; get(cacheHash: string): Promise; getMultiple(cacheHashes: string[]): Promise>; delete(cacheHash: string): Promise; set(cacheHash: string, data: any, expireInSeconds?: number): Promise; setCompression(compression: CompressionInterface): void; clearAll(): Promise; close(): Promise; getHashPrefix(): string; generateHash(cacheName: string, request: any, useBuild?: boolean): string; getDriver(): CacheInterface; }