/** * Convert ProvenanceRecord[] into LintDiagnostic[] for SARIF output. * * Mapping: * - category "needs-review" → severity "warning" (or "error" if --strict) * - category "skipped" → severity "info" * - category "action-map" tier 3 → severity "warning" * - all others → no diagnostic (clean translation) */ import type { LintDiagnostic } from "@intentius/chant/lint/rule"; import type { ProvenanceRecord } from "./provenance.js"; export interface DiagnosticOptions { /** When true, needs-review records become errors instead of warnings */ strict?: boolean; } export declare function provenanceToDiagnostics(records: ProvenanceRecord[], opts?: DiagnosticOptions): LintDiagnostic[]; //# sourceMappingURL=diagnostics.d.ts.map