import { createClient, RedisClientOptions } from 'redis'; import { DBConnection } from '@shopify/shopify-app-session-storage'; type RedisClient = ReturnType; export declare class RedisConnection implements DBConnection { sessionStorageIdentifier: string; private client; constructor(urlOrClient: string | URL | RedisClient, options: RedisClientOptions, keyPrefix: string); query(_query: string, _params: any[]): Promise; connect(): Promise; disconnect(): Promise; keys(name: string): Promise; set(baseKey: string, value: any, addKeyPrefix?: boolean): Promise; del(baseKey: string, addKeyPrefix?: boolean): Promise; get(baseKey: string, addKeyPrefix?: boolean): Promise; generateFullKey(name: string): string; private buildKey; private init; private eventHandler; } export {}; //# sourceMappingURL=redis-connection.d.ts.map