/** Module path to the module paths it imports. */ export type ImportGraph = Record; /** * One cycle in the graph, as the list of modules around it, or null. The list * starts at the first module of the cycle the search reaches and does not * repeat it at the end. */ export declare function findImportCycle(graph: ImportGraph): string[] | null; export declare function formatImportCycleError(cycle: string[]): string;