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; /** * Checkpoints contain LangChain message instances. Plain JSON.stringify loses * their constructors, so a resumed HITL middleware cannot recognize AIMessage * tool calls. Use LangGraph's serializer, which preserves those constructors. */ 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): Promise; putWrites(config: RunnableConfig, writes: PendingWrite[], taskId: string): Promise; getTuple(config: RunnableConfig): Promise; list(config: RunnableConfig, options?: { before?: RunnableConfig; limit?: number; }): AsyncGenerator; deleteThread(threadId: string, checkpointNs?: string): Promise; }