import type { Diagnostic, SourceRange } from "./types.js"; export declare function error(code: string, message: string, range?: SourceRange): Diagnostic; export declare function warning(code: string, message: string, range?: SourceRange): Diagnostic; export declare function hasErrors(diagnostics: Diagnostic[]): boolean; //# sourceMappingURL=diagnostics.d.ts.map