import { RedisKVMarker } from "../keys.js"; import { createPinboard } from "../server.js"; import { Redis } from "ioredis"; //#region src/node/redis.d.ts type RedisKV = createPinboard.RedisKV; type SetOptions = createPinboard.SetOptions; declare class IoredisKV implements RedisKV { readonly [RedisKVMarker] = true; private readonly client; constructor(client: Redis); get(key: string): Promise; set(key: string, value: string, opts?: SetOptions): Promise<"OK" | null>; del(key: string): Promise; pexpire(key: string, ms: number): Promise; hget(key: string, field: string): Promise; hset(key: string, field: string, value: string): Promise; hsetnx(key: string, field: string, value: string): Promise; hdel(key: string, field: string): Promise; hgetall(key: string): Promise>; hscan(key: string, cursor: string, count: number): Promise<{ cursor: string; entries: [string, string][]; }>; rpush(key: string, value: string): Promise; lrange(key: string, start: number, stop: number): Promise; lrem(key: string, count: number, value: string): Promise; scriptLoad(script: string): Promise; evalsha(sha: string, keys: string[], argv: string[]): Promise; quit(): Promise; } //#endregion export { IoredisKV }; //# sourceMappingURL=redis.d.ts.map