type DiagnosticSeverity = 'error' | 'warning' | 'info'; /** * Builds the content shown inside a CodeMirror lint tooltip: a leading severity icon followed * by the diagnostic message. Returned as a `Diagnostic.renderMessage` factory. * * @param severity - the diagnostic severity, driving which icon is shown. * @param message - the diagnostic message. By default applied via `textContent` (not `innerHTML`), * since messages can originate from consumers or external APIs and must not be treated as markup. * @param wrapperClass - CSS class applied to the outer flex container, letting each consumer * scope its own tooltip styling. The icon element always uses the shared {@link diagnosticIconClass}. * @param options - additional rendering options. `dangerouslyRenderHtml`, when `true`, injects the * message via `innerHTML` instead of `textContent` — only for **trusted, internally generated** * markup (e.g. FilterField's syntax-colored operator list), never for consumer- or API-provided * strings. * @internal */ export declare function renderDiagnosticMessage(severity: DiagnosticSeverity, message: string, wrapperClass: string, options?: { dangerouslyRenderHtml?: boolean; }): () => HTMLElement; export {}; //# sourceMappingURL=render-diagnostic-message.d.ts.map