export type DiagnosticSeverity = 'error' | 'warning'; export type DiagnosticCategory = 'type-mismatch' | 'value-constraint' | 'unknown-identifier' | 'unknown-element' | 'missing-required' | 'group-shape' | 'structural' | 'format' | 'syntax' | 'data'; export interface SourceLocation { file: string; line: number; col: number; length: number; source: string; } export interface Diagnostic { code: string; severity: DiagnosticSeverity; category: DiagnosticCategory; location: SourceLocation; message: string; why: string; hint?: string; } //# sourceMappingURL=types.d.ts.map