/** * Certification Badge Generation * * Generates SVG badges for certification status that can be embedded * in README files or displayed on dashboards. * * @module certification/badge */ import type { CertificationLevel } from "./types.js"; /** * Generate an SVG certification badge. * * Creates a shields.io-style badge showing certification level and score. * * @param level - The certification level * @param score - The overall score (0-100) * @returns SVG string that can be saved to a file or embedded in markdown * * @example * ```typescript * const svg = generateBadgeSvg("APPROVED", 85); * // Returns SVG showing "certification | Approved 85/100" * ``` */ export declare function generateBadgeSvg(level: CertificationLevel, score: number): string; /** * Generate a simple text badge for markdown. * * @param level - The certification level * @param score - The overall score (0-100) * @returns Markdown badge text * * @example * ```typescript * const badge = generateTextBadge("APPROVED", 85); * // Returns: "![Certification: Approved](https://img.shields.io/badge/certification-Approved%2085%2F100-eab308)" * ``` */ export declare function generateTextBadge(level: CertificationLevel, score: number): string; /** * Generate a compact score-only badge. * * @param score - The overall score (0-100) * @returns SVG string for score badge */ export declare function generateScoreBadgeSvg(score: number): string; /** * Generate badge markdown for embedding in README. * * @param level - The certification level * @param score - The overall score (0-100) * @param badgePath - Relative path to the badge SVG file * @returns Markdown string for embedding the badge */ export declare function generateBadgeMarkdown(level: CertificationLevel, score: number, badgePath?: string): string; //# sourceMappingURL=badge.d.ts.map