/** * Diff output formatting for human and machine consumption. */ import type { BehavioralDiff } from './types.js'; import type { SecurityDiff } from '../security/types.js'; /** * Format diff for human-readable console output. */ export declare function formatDiffText(diff: BehavioralDiff, useColors?: boolean): string; /** * Format diff as JSON. */ export declare function formatDiffJson(diff: BehavioralDiff): string; /** * Format diff in a compact single-line format for CI logs. */ export declare function formatDiffCompact(diff: BehavioralDiff): string; /** * Format diff for GitHub Actions annotations. */ export declare function formatDiffGitHubActions(diff: BehavioralDiff): string; /** * Format diff as markdown. */ export declare function formatDiffMarkdown(diff: BehavioralDiff): string; /** * Format diff as JUnit XML for CI dashboard integration. * * JUnit XML is widely supported by CI/CD systems (Jenkins, GitLab CI, * CircleCI, Azure DevOps, etc.) for test result visualization. * * @param diff - The behavioral diff to format * @param suiteName - Name for the test suite (default: 'bellwether') * @returns JUnit XML string */ export declare function formatDiffJUnit(diff: BehavioralDiff, suiteName?: string): string; /** * Format diff as SARIF (Static Analysis Results Interchange Format) for GitHub Code Scanning. * * SARIF is the standard format for GitHub's code scanning feature and can be * used to show drift detection results in pull request reviews. * * @see https://docs.oasis-open.org/sarif/sarif/v2.1.0/sarif-v2.1.0.html * * @param diff - The behavioral diff to format * @param baselinePath - Path to the baseline file (for location references) * @returns SARIF JSON string */ export declare function formatDiffSarif(diff: BehavioralDiff, baselinePath?: string): string; /** * Format a standalone security report for display. * Used when only security data is available (not a full diff). */ export declare function formatSecurityReport(report: SecurityDiff, useColors?: boolean): string; //# sourceMappingURL=diff.d.ts.map