export interface RawMetricsSample {
    stars?: number;
    openIssues?: number;
    contributors?: number;
    downloadsPerWeek?: number;
    /** Optional: the upstream sources we actually got data from. Informational only. */
    sources?: {
        github?: boolean;
        npm?: boolean;
        contributors?: boolean;
    };
}
export interface RawMetricsClient {
    get(pkgName: string, githubUrl: string | undefined): Promise<RawMetricsSample | undefined>;
    invalidate(): void;
}
export declare function createRawMetricsClient(cacheDir: string): RawMetricsClient;
//# sourceMappingURL=raw-metrics.d.ts.map