@rayburst/sharity
Version:
Analyze shared package usage across monorepos - calculate symbol sharing percentages, track exclusive imports, and identify unused exports
20 lines • 637 B
TypeScript
/**
* Consumer tracker - builds per-consumer analysis
*/
import { ConsumerAnalysis, SymbolAnalysis } from './types';
/**
* Build consumer analyses from symbol analyses
*/
export declare function buildConsumerAnalyses(analyses: SymbolAnalysis[], consumers: Array<{
name: string;
path: string;
}>): ConsumerAnalysis[];
/**
* Get risk level for a consumer based on exclusive percentage
*/
export declare function getRiskLevel(exclusivePercentage: number): string;
/**
* Get risk label for a consumer
*/
export declare function getRiskLabel(exclusivePercentage: number): string;
//# sourceMappingURL=consumer-tracker.d.ts.map