import type { PeerScoreParams } from './peer-score-params.js'; import type { PeerStats } from './peer-stats.js'; type TopicLabel = string; type TopicStr = string; type TopicStrToLabel = Map; export interface TopicScoreWeights { p1w: T; p2w: T; p3w: T; p3bw: T; p4w: T; } export interface ScoreWeights { byTopic: Map>; p5w: T; p6w: T; p7w: T; score: T; } export declare function computeScoreWeights(peer: string, pstats: PeerStats, params: PeerScoreParams, peerIPs: Map>, topicStrToLabel: TopicStrToLabel): ScoreWeights; export declare function computeAllPeersScoreWeights(peerIdStrs: Iterable, peerStats: Map, params: PeerScoreParams, peerIPs: Map>, topicStrToLabel: TopicStrToLabel): ScoreWeights; export {}; //# sourceMappingURL=scoreMetrics.d.ts.map