teodor-new-chat-ui 4.3.422 → 4.3.423

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ import type { TimelineCheckpoint } from "../types";
2
+ type ParentCheckpointInfo = {
3
+ checkpointId: string;
4
+ checkpointNs: string | null;
5
+ };
6
+ /**
7
+ * Given the timeline checkpoints for a thread, find the parent checkpoint that the
8
+ * backend should branch from when editing the provided message id.
9
+ */
10
+ export declare function findParentCheckpointForEdit(timeline: TimelineCheckpoint[], messageId: string): ParentCheckpointInfo;
11
+ export {};