import type { Target } from "./types/Target.js"; /** * Checks for any cycles in the dependency graph, returning `{ hasCycle: false }` if no cycles were detected. * Otherwise it returns the chain of nodes where the cycle was detected. */ export declare function detectCycles(targets: Map): { hasCycle: boolean; cycle?: string[]; };