import { FP } from "@atomist/sdm-pack-fingerprint";
import { ProjectAnalysisResultStore } from "../persist/ProjectAnalysisResultStore";
/**
 * Retrieve all fingerprints, then compute and store fingerprint_analytics for the whole workspace
 */
export declare function computeAnalytics(persister: ProjectAnalysisResultStore, workspaceId: string): Promise<void>;
/**
 * Calculate and persist entropy for one fingerprint kind
 */
export declare function computeAnalyticsForFingerprintKind(persister: ProjectAnalysisResultStore, workspaceId: string, type: string, name: string): Promise<void>;
/**
 * Result of analyzing a cohort of fingerprints.
 */
export interface CohortAnalysis {
    count: number;
    variants: number;
    entropy: number;
    compliance: number;
}
/**
 * Analyze a cohort of the same kind of fingerprints
 */
export declare function analyzeCohort(fps: FP[]): CohortAnalysis;
//# sourceMappingURL=analytics.d.ts.map