/**
 * redis模块
 * @date 2022-03
 * @author 何华东
 */
export declare type RedisClient = {
    get: Function;
    set: Function;
    del: Function;
    hget: Function;
    hset: Function;
    hgetall: Function;
    [cmd: string]: Function;
};
/**
 * redis客户端实例，基于ioredis插件
 *
 * 配置优先级：
 *
 * 1.ioc配置
 *
 * 2.配置中心
 */
export declare let redisClient: RedisClient;
/**
 * redis分布式锁
 */
export declare function RedisLock(key: ((...args: any[]) => string) | string, value: string, ex: number): MethodDecorator;
