import { type CrowdyStudioTarget } from './models.js'; export type CrowdyStudioDiagnosticSeverity = 'error' | 'warning' | 'info' | 'hint'; export type CrowdyStudioDiagnosticSource = 'rustc' | 'local-advisory'; export interface CrowdyStudioDiagnostic { target: CrowdyStudioTarget; path: string; line: number; column: number; endLine?: number; endColumn?: number; severity: CrowdyStudioDiagnosticSeverity; message: string; code?: string; source: CrowdyStudioDiagnosticSource; } /** * Parse rustc's authoritative human or JSON output. Locations are converted to * one-based project paths for UI lists; Monaco adapters convert back to marker * ranges. Non-location summary lines remain in the Build output, not Problems. */ export declare function parseRustcDiagnostics(output: string | null | undefined, defaultTarget: CrowdyStudioTarget): CrowdyStudioDiagnostic[]; //# sourceMappingURL=diagnostics.d.ts.map