| 6dd74de | 1 | export interface TreeData { | ||
| 6dd74de | 2 | parentById: Record<string, string>; | ||
| 6dd74de | 3 | childrenById: Record<string, string[]>; | ||
| 6dd74de | 4 | } | ||
| 6dd74de | 5 | export declare const findCommonAncestor: ( | ||
| 6dd74de | 6 | id1: string, | ||
| 6dd74de | 7 | id2: string, | ||
| 6dd74de | 8 | { parentById }: TreeData | ||
| 6dd74de | 9 | ) => string; |