import { ObjectType, RedisStyleMatchString } from './index' export interface Item { delete(key: string): Promise deleteAll(keys: string[]): Promise exists(key: string): Promise exists(key: string[]): Promise expire(key: string, seconds: number): Promise expireAt(key: string, timestampInSeconds: number): Promise get(key: string): Promise increment(key: string): Promise pexpire(key: string, ms: number): Promise pexpireAt(key: string, timestampInMs: number): Promise pttl(key: string): Promise rename(oldkey: string, newkey: string): Promise scan(params: { match: RedisStyleMatchString }): Promise set(key: string, value: string): Promise ttl(key: string): Promise type(key: string): Promise }