import { Config, Connection } from "./connection"; export declare class Redis { protected _connection: Connection; constructor(config?: Config); protected _commandParser(command: string, collection: string, ...args: any[]): Promise; private _commonScan; setResultListener(callback: ((res: any) => void) | undefined): void; set(key: string, value: string, collection: string, options?: any[]): Promise; append(key: string, value: string, collection: string): Promise; decr(key: string, collection: string): Promise; decrby(key: string, decrement: number, collection: string): Promise; get(key: string, collection: string): Promise; getdel(key: string, collection: string): Promise; getex(key: string, collection: string, expiryCommand?: string, time?: number): Promise; getrange(key: string, start: number, end: number, collection: string): Promise; getset(key: string, value: string, collection: string): Promise; incr(key: string, collection: string): Promise; incrby(key: string, increment: number, collection: string): Promise; incrbyfloat(key: string, increment: number, collection: string): Promise; mget(keys: string[], collection: string): Promise; mset(data: object, collection: string): Promise; psetex(key: string, milliseconds: number, value: number, collection: string): Promise; setbit(key: string, offset: number, value: number, collection: string): Promise; msetnx(data: object, collection: string): Promise; setex(key: string, seconds: number, value: string, collection: string): Promise; setnx(key: string, value: string, collection: string): Promise; setrange(key: string, offset: number, value: string, collection: string): Promise; strlen(key: string, collection: string): Promise; bitcount(key: string, collection: string, start?: number, end?: number, dataFormat?: string): Promise; bittop(operation: string, deskey: string, keys: string[], collection: string): Promise; bitpos(key: string, bit: number, collection: string, start?: number, end?: number, dataFormat?: string): Promise; getbit(key: string, offset: number, collection: string): Promise; lpush(key: string, elements: string[], collection: string): Promise; lindex(key: string, index: number, collection: string): Promise; linsert(key: string, modifier: string, pivot: string, element: string, collection: string): Promise; llen(key: string, collection: string): Promise; lrange(key: string, start: number, stop: number, collection: string): Promise; lmove(source: string, destination: string, whereFrom: string, whereTo: string, collection: string): Promise; lpos(key: string, element: string, collection: string, rank?: number, count?: number, maxLen?: number): Promise; rpush(key: string, elements: string[], collection: string): Promise; lpop(key: string, collection: string, count?: number): Promise; lpushx(key: string, elements: string[], collection: string): Promise; rpushx(key: string, elements: string[], collection: string): Promise; lrem(key: string, count: number, element: string, collection: string): Promise; lset(key: string, index: number, element: string, collection: string): Promise; ltrim(key: string, start: number, stop: number, collection: string): Promise; rpop(key: string, collection: string, count?: Number): Promise; rpoplpush(source: string, destination: string, collection: string): Promise; hset(key: string, data: object, collection: string): Promise; hget(key: string, field: string, collection: string): Promise; hdel(key: string, fields: string[], collection: string): Promise; hexists(key: string, field: string, collection: string): Promise; hgetall(key: string, collection: string): Promise; hincrby(key: string, field: string, increment: number, collection: string): Promise; hincrbyfloat(key: string, field: string, increment: number, collection: string): Promise; hkeys(key: string, collection: string): Promise; hlen(key: string, collection: string): Promise; hmget(key: string, fields: string[], collection: string): Promise; hmset(key: string, data: object, collection: string): Promise; hscan(key: string, cursor: number, collection: string, pattern?: string, count?: number): Promise; hstrlen(key: string, field: string, collection: string): Promise; hrandfield(key: string, collection: string, count?: number, modifier?: string): Promise; hvals(key: string, collection: string): Promise; sadd(key: string, members: string[], collection: string): Promise; scard(key: string, collection: string): Promise; sdiff(keys: string[], collection: string): Promise; sdiffstore(destination: string, keys: string[], collection: string): Promise; sinter(keys: string[], collection: string): Promise; sinterstore(destination: string, keys: string[], collection: string): Promise; sismember(key: string, member: string, collection: string): Promise; smembers(key: string, collection: string): Promise; smismember(key: string, members: string[], collection: string): Promise; smove(source: string, destination: string, member: string, collection: string): Promise; spop(key: string, count: number, collection: string): Promise; srandmember(key: string, collection: string, count?: number): Promise; srem(key: string, members: string[], collection: string): Promise; sscan(key: string, cursor: number, collection: string, pattern?: string, count?: number): Promise; sunion(keys: string[], collection: string): Promise; sunionstore(destination: string, keys: string[], collection: string): Promise; zadd(key: string, data: any[], collection: string, options?: any[]): Promise; zcard(key: string, collection: string): Promise; zcount(key: string, minimum: string, maximum: string, collection: string): Promise; zdiff(numKeys: number, keys: string[], collection: string, withScores?: boolean): Promise; zdiffstore(destination: string, numkeys: number, keys: string[], collection: string): Promise; zincrby(key: string, increment: number, member: string, collection: string): Promise; zinter(numKeys: number, keys: string[], collection: string, options?: any[], withScores?: boolean): Promise; zinterstore(destination: string, numKeys: number, keys: string[], collection: string, options?: any[]): Promise; zlexcount(key: string, min: string, max: string, collection: string): Promise; zmscore(key: string, members: string[], collection: string): Promise; zpopmax(key: string, collection: string, count?: number): Promise; zpopmin(key: string, collection: string, count?: number): Promise; zrandmember(key: string, collection: string, count?: number, withScores?: boolean): Promise; zrange(key: string, start: string, stop: string, collection: string, options?: any[]): Promise; zrangebylex(key: string, min: string, max: string, collection: string, offset?: string, count?: number): Promise; zrangebyscore(key: string, min: string, max: string, collection: string, withScores?: boolean, offset?: string, count?: number): Promise; zrangestore(dst: string, key: string, min: string, max: string, collection: string, options?: any[]): Promise; zrank(key: string, member: string, collection: string): Promise; zrem(key: string, members: string[], collection: string): Promise; zremrangebylex(key: string, minimum: string, maxiumum: string, collection: string): Promise; zremrangebyrank(key: string, start: string, stop: string, collection: string): Promise; zremrangebyscore(key: string, minimum: string, maxiumum: string, collection: string): Promise; zrevrange(key: string, start: string, stop: string, collection: string, withScores?: boolean): Promise; zrevrangebylex(key: string, min: string, max: string, collection: string, offset?: string, count?: number): Promise; zrevrangebyscore(key: string, min: string, max: string, collection: string, withScores?: boolean, offset?: string, count?: number): Promise; zrevrank(key: string, member: string, collection: string): Promise; zscan(key: string, cursor: number, collection: string, pattern?: string, count?: number): Promise; zscore(key: string, member: string, collection: string): Promise; zunion(numKeys: number, keys: string[], collection: string, options?: any[], withScores?: boolean): Promise; zunionstore(destination: string, numKeys: number, keys: string[], collection: string, options?: any[], withScores?: boolean): Promise; copy(source: string, destination: string, collection: string, destinationDatabase?: string, replace?: false): Promise; delete(keys: string[], collection: string): Promise; exists(keys: string[], collection: string): Promise; expire(key: string, seconds: number, collection: string, options?: string): Promise; expireat(key: string, unixTimeSeconds: number, collection: string, options?: string): Promise; persist(key: string, collection: string): Promise; pexpire(key: string, milliseconds: number, collection: string, options?: string): Promise; pexpireat(key: string, unixTimeMilliseconds: number, collection: string, options?: string): Promise; pttl(key: string, collection: string): Promise; randomkey(collection: string): Promise; rename(key: string, newKey: string, collection: string): Promise; renamenx(key: string, newKey: string, collection: string): Promise; scan(cursor: number, collection: string, pattern?: string, count?: number, dataType?: number): Promise; ttl(key: string, collection: string): Promise; type(key: string, collection: string): Promise; unlink(keys: string[], collection: string): Promise; echo(message: string, collection: string): Promise; ping(collection: string, message?: string): Promise; dbsize(collection: string): Promise; flushdb(collection: string, asyncFlush?: boolean): Promise; time(collection: string): Promise; } //# sourceMappingURL=redis.d.ts.map