import type { RedisAdapter } from "./interface.js"; import type { NodeRedisClient } from "./types.js"; export declare class NodeRedisAdapter implements RedisAdapter { private client; constructor(client: NodeRedisClient); hset(key: string, fields: Record): Promise; hgetall(key: string): Promise>; hdel(key: string, ...fields: string[]): Promise; del(...keys: string[]): Promise; sadd(key: string, ...members: string[]): Promise; srem(key: string, ...members: string[]): Promise; smembers(key: string): Promise; rpush(key: string, ...values: string[]): Promise; lrange(key: string, start: number, stop: number): Promise; lindex(key: string, index: number): Promise; lset(key: string, index: number, value: string): Promise; llen(key: string): Promise; xadd(key: string, id: string, fields: Record): Promise; xread(streams: Array<{ key: string; xid: string; }>, options?: { block?: number; count?: number; }): Promise; }>; }>>; xgroupCreate(key: string, group: string, id: string, mkstream?: boolean): Promise; xreadgroup(streams: Array<{ key: string; xid: string; }>, options: { group: string; consumer: string; block?: number; count?: number; }): Promise; }>; }>>; xack(key: string, group: string, ...ids: string[]): Promise; keys(pattern: string): Promise; scan(cursor: number, options?: { MATCH?: string; COUNT?: number; }): Promise<{ cursor: number; keys: string[]; }>; exists(...keys: string[]): Promise; expire(key: string, seconds: number): Promise; set(key: string, value: string, options?: { nx?: boolean; px?: number; ex?: number; }): Promise; get(key: string): Promise; eval(script: string, keys: string[], args: string[]): Promise; quit(): Promise; disconnect(): Promise; } //# sourceMappingURL=node.d.ts.map