import type { RunnableConfig } from "@langchain/core/runnables";
import { BaseCheckpointSaver, type Checkpoint, type CheckpointMetadata, type CheckpointTuple, type PendingWrite } from "@langchain/langgraph-checkpoint";
import type { PluginOptions } from "../types.js";
export declare class AdminForthCheckpointSaver extends BaseCheckpointSaver {
    private readonly adminforth;
    private readonly pluginOptions;
    constructor(adminforth: any, pluginOptions: PluginOptions);
    private get resourceConfig();
    private resource;
    private serialize;
    private deserialize;
    private now;
    private encodeCheckpointNamespace;
    private decodeCheckpointNamespace;
    private getConfigValues;
    private buildConfig;
    private buildCheckpointRowId;
    private buildWritesRowId;
    private getWriteIndex;
    private isDuplicateCheckpointWriteError;
    put(config: RunnableConfig, checkpoint: Checkpoint, metadata: CheckpointMetadata, _newVersions: Record<string, unknown>): Promise<RunnableConfig>;
    putWrites(config: RunnableConfig, writes: PendingWrite[], taskId: string): Promise<void>;
    getTuple(config: RunnableConfig): Promise<CheckpointTuple | undefined>;
    list(config: RunnableConfig, options?: {
        before?: RunnableConfig;
        limit?: number;
    }): AsyncGenerator<CheckpointTuple>;
    deleteThread(threadId: string, checkpointNs?: string): Promise<void>;
}
