import { LangChainBaseMessage } from "./types.js"; //#region src/findForkCheckpointInHistory.d.ts type ForkCheckpointHistoryState = { values?: Record | undefined; checkpoint?: { checkpoint_id?: string | null | undefined; } | undefined; }; type ForkHistoryCursor = { configurable: { checkpoint_id: string; }; }; type ForkCheckpointClient = { threads: { getHistory: (threadId: string, options?: { limit?: number; before?: ForkHistoryCursor; }) => Promise; }; }; declare const findForkCheckpointInHistory: (client: ForkCheckpointClient, threadId: string, messagesUpToParent: readonly LangChainBaseMessage[], messagesKey: string, pageSize?: number) => Promise; //#endregion export { ForkCheckpointClient, findForkCheckpointInHistory }; //# sourceMappingURL=findForkCheckpointInHistory.d.ts.map