import type { JsonObject, SoftwareGraphDiagnostic, SourceSpan } from "@0xsarwagya/ontoly-core"; import type { DiagnosticSink } from "../types"; export declare function createDiagnosticSink(): DiagnosticSink; export declare function compilerDiagnostic(input: { readonly code: string; readonly message: string; readonly severity?: "info" | "warning" | "error" | undefined; readonly nodeId?: string | undefined; readonly edgeId?: string | undefined; readonly span?: SourceSpan | undefined; readonly metadata?: JsonObject | undefined; }): SoftwareGraphDiagnostic; //# sourceMappingURL=index.d.ts.map