import { LangChainBaseMessage } from "./types.js"; import { ForkCheckpointClient } from "./findForkCheckpointInHistory.js"; //#region src/resolveForkCheckpoint.d.ts type MessageMetadataSnapshot = ReadonlyMap | undefined; /** * Hydration seeds every message with the head's parent checkpoint, so only the * head's recorded fork checkpoint is reliable; older turns are matched against * server history by message id. A `null` `parentId` edits the first human * message and forks from the thread's initial (empty-message) checkpoint. */ declare const resolveForkCheckpoint: (client: ForkCheckpointClient, threadId: string, messages: readonly LangChainBaseMessage[], parentId: string | null, sourceId: string | null | undefined, metadata: MessageMetadataSnapshot, messagesKey: string) => Promise; //#endregion export { resolveForkCheckpoint }; //# sourceMappingURL=resolveForkCheckpoint.d.ts.map