import { RedisClientType } from 'redis';
export declare const makeEasyRedis: (client: RedisClientType) => {
    del: (keys: string[]) => Promise<number>;
    delAndRem: (setKey: string, valueKeys: string[]) => Promise<import("@redis/client/dist/lib/commands").RedisCommandRawReply[]>;
    get: (key: string) => Promise<any>;
    pSetEx: (key: string, milliseconds: number, value: any) => Promise<string>;
    pSetExAndSAdd: (setKey: string, key: string, milliseconds: number, value: any) => Promise<import("@redis/client/dist/lib/commands").RedisCommandRawReply[]>;
    sAdd: (setKey: string, valueKey: string) => Promise<number>;
    sRem: (setKey: string, valueKeys: string[]) => Promise<number>;
    scan: (match: string, cursor?: number) => Promise<{
        cursor: number;
        keys: string[];
    }>;
    scanAll: (match: string) => Promise<string[]>;
    scanSet: (setKey: string, match: string, cursor?: number) => Promise<{
        cursor: number;
        members: string[];
    }>;
    scanSetAll: (setKey: string, match: string) => Promise<string[]>;
    withLock: (key: string, timeout: number, fn: () => void) => Promise<void>;
};
