export declare class CacheAdapter { private readonly redis; setBytes(key: string, bytes: Buffer): Promise; getBytes(key: string): Promise | null>; set(key: string, text: string): Promise; get(key: string): Promise; delete(key: string): Promise; lock(key: string, seconds: number): Promise; unlock(key: string, lockTimestamp: string): Promise; usingLock(key: string, seconds: number, func: () => Promise): Promise; private getLockName; }