import { QueryResultCache } from "./QueryResultCache"; import { QueryResultCacheOptions } from "./QueryResultCacheOptions"; import { Connection } from "../connection/Connection"; import { QueryRunner } from "../query-runner/QueryRunner"; export declare class RedisQueryResultCache implements QueryResultCache { protected connection: Connection; protected redis: any; protected client: any; constructor(connection: Connection); connect(): Promise; disconnect(): Promise; synchronize(queryRunner: QueryRunner): Promise; getFromCache(options: QueryResultCacheOptions, queryRunner?: QueryRunner): Promise; isExpired(savedCache: QueryResultCacheOptions): boolean; storeInCache(options: QueryResultCacheOptions, savedCache: QueryResultCacheOptions, queryRunner?: QueryRunner): Promise; clear(queryRunner?: QueryRunner): Promise; remove(identifiers: string[], queryRunner?: QueryRunner): Promise; protected deleteKey(key: string): Promise; protected loadRedis(): any; }