import { RepositoryScorer, RepoToScore, ScoredRepo, TagAndScoreOptions, WorkspaceScorer, WorkspaceToScore } from "../aspect/AspectRegistry";
import { FiveStar, ScoreWeightings, WeightedScore } from "./Score";
export declare function scoreRepos(scorers: RepositoryScorer[], repos: RepoToScore[], weightings: ScoreWeightings, opts: TagAndScoreOptions): Promise<ScoredRepo[]>;
/**
 * Score the repo
 */
export declare function scoreOrg(scorers: WorkspaceScorer[], od: WorkspaceToScore, weightings: ScoreWeightings): Promise<WeightedScore>;
export declare function scoreRepo(scorers: RepositoryScorer[], repo: RepoToScore, weightings: ScoreWeightings, opts: TagAndScoreOptions): Promise<ScoredRepo>;
/**
 * Adjust a score within FiveStar range.
 * If merits is negative, reduce
 * @param {number} merits
 * @param {FiveStar} startAt
 * @return {FiveStar}
 */
export declare function adjustBy(merits: number, startAt?: FiveStar): FiveStar;
//# sourceMappingURL=scoring.d.ts.map