type NodeId = string; type Cycle = NodeId[]; export type Cycles = Cycle[]; export type PartitionedCycles = { cyclesStartWithThisNode: Cycle[]; cyclesWithThisNode: Cycle[]; }; export declare function getCycle(ancestors: NodeId[], nodeId: NodeId): Cycle | null; export declare function partitionCycles(nodeId: NodeId, allCyclesTheNodeIsPartOf: Cycle[]): PartitionedCycles; export {};