export declare const LAYER_ORDER: readonly string[]; export declare const UNIT_LAYERS: Readonly>; /** The top-level unit of a production `src/` file, or undefined. */ export function sourceUnit(path: string): string | undefined; export interface LayerGraphFacts { readonly undeclared: readonly string[]; readonly upward: Readonly>; readonly cycles: readonly string[]; } export function layerGraphFacts( imports: readonly { readonly file: string; readonly target: string }[], files?: readonly string[], ): LayerGraphFacts; export function compareLayerBaseline( facts: LayerGraphFacts, baseline: Pick, ): { readonly failures: string[]; readonly lowerable: string[] };