import { MaybeCancelablePromise } from '@cubejs-backend/shared'; import { CacheDriverInterface } from '@cubejs-backend/base-driver'; import { CubeStoreDriver } from './CubeStoreDriver'; export declare class CubeStoreCacheDriver implements CacheDriverInterface { protected connectionFactory: () => Promise; protected readonly sendParameters: boolean; constructor(connectionFactory: () => Promise); protected connection: CubeStoreDriver | null; protected getConnection(): Promise; withLock: (key: string, cb: () => MaybeCancelablePromise, expiration?: number, freeAfter?: boolean) => import("@cubejs-backend/shared").CancelablePromise; get(key: string): Promise; set(key: string, value: any, expiration: any): Promise<{ key: string; bytes: number; }>; remove(key: string): Promise; keysStartingWith(prefix: string): Promise; cleanup(): Promise; testConnection(): Promise; } //# sourceMappingURL=CubeStoreCacheDriver.d.ts.map