import type { ScanReport } from './scan.js'; /** Short, fixed descriptions; the finding message carries the specifics. */ export declare const CODE_TEXT: Record; /** JSON report without the raw tool definitions (they are in the lock when they matter). */ export declare function toJson(report: ScanReport): string; /** The terminal table. Every untrusted string goes through displaySafe. */ export declare function toTable(report: ScanReport, cwd: string, color: boolean): string; /** * SARIF for GitHub code scanning. Advisory findings are left out on purpose: the * Security tab is for things that block, and TOOL_DEF_UNPINNED alone would put a * result on every server in every repository. */ export declare function toSarif(report: ScanReport, cwd: string): object; /** Inline code that untrusted text cannot break out of. */ export declare function mdCode(text: string, max?: number): string; /** A fenced block that untrusted text cannot close. */ export declare function mdBlock(text: string, lang?: string): string; /** Line diff, small and dependency-free: common prefix/suffix, then the middle as -/+. */ export declare function lineDiff(before: string[], after: string[]): string[]; export declare function toMarkdown(report: ScanReport, cwd: string): string; /** Shown when the scan ran without --histor: what the log could answer, and that nothing was sent. */ export declare function historHint(n: number): string; //# sourceMappingURL=scan-report.d.ts.map