import { RedisClientType } from 'redis'; declare const redis: { readonly client: RedisClientType | null; cmd(args_0: string, ...args: unknown[]): Promise; get(key: string): Promise; set(key: string, value: string, options?: { EX?: number; }): Promise; del(key: string): Promise; expire(key: string, seconds: number): Promise; hget(key: string, field: string): Promise; hset(key: string, field: string, value: string): Promise; hgetall(key: string): Promise>; hdel(key: string, field: string): Promise; pub(channel: string, message: string | object): Promise; sub(channel: string, callback: (message: string) => void): Promise; disconnect(): Promise; }; type Redis = typeof redis; export { type Redis, redis };