import type { ONICheckpoint, ONICheckpointer, CheckpointListOptions } from "../types.js"; export interface RedisCheckpointerConfig { url: string; prefix?: string; } export declare class RedisCheckpointer implements ONICheckpointer { private readonly client; private readonly prefix; private constructor(); static create(config: RedisCheckpointerConfig): Promise>; private dataKey; private idxKey; private static readonly PUT_SCRIPT; get(threadId: string): Promise | null>; put(cp: ONICheckpoint): Promise; list(threadId: string, opts?: CheckpointListOptions): Promise[]>; delete(threadId: string): Promise; close(): Promise; private deserialize; } //# sourceMappingURL=redis.d.ts.map