export type BadgeGrade = "A" | "B" | "C" | "Fail" | "N/A"; export interface BadgeInput { score: number | "N/A"; grade: BadgeGrade; repoUrl: string | null; } interface BadgeEndpointJson { schemaVersion: 1; label: string; message: string; color: string; } export interface BadgeOutput { endpointJson: BadgeEndpointJson; staticUrl: string; staticMarkdown: string; endpointMarkdown: (rawJsonUrl: string) => string; } export declare function buildBadge(input: BadgeInput): BadgeOutput; export {};