import type { NormalizedProblem } from '@redocly/openapi-core';
import type { ProblemWithCodeframe } from './lint';
export declare enum ScorecardStatus {
    BelowMinimum = "BELOW_MINIMUM",
    Highest = "HIGHEST",
    Minimum = "MINIMUM"
}
export type ProblemSummary = Pick<NormalizedProblem, 'ruleId' | 'severity'>;
export type ScorecardLevel = {
    errors: number;
    warnings: number;
    uniqueErrors: number;
    uniqueWarnings: number;
    problems: ProblemSummary[];
};
export type DetailedScorecardLevel = Omit<ScorecardLevel, 'problems'> & {
    problems: ProblemWithCodeframe[];
};
export type ScorecardData = {
    levels: Record<string, ScorecardLevel>;
    status: ScorecardStatus;
    targetLevel: string;
    scorecardLevel: string;
    scorecardLevelIdx: number;
    relativePath: string;
    title?: string;
    version?: string;
};
export type DetailedScorecardData = Omit<ScorecardData, 'levels'> & {
    levels: Record<string, DetailedScorecardLevel>;
};
//# sourceMappingURL=types.d.ts.map