import type { Text } from '@codemirror/state'; import type { IntlShape } from 'react-intl'; import type { InlineDiagnostic } from '../../code-editor/inline-diagnostic.js'; /** * Formats a summary of the given diagnostics for screen reader announcements. * @param diagnostics - The diagnostics to summarize. * @param intl - The `react-intl` instance to use for formatting messages. * @param doc - The CodeMirror document to use for calculating line numbers. * @returns A string summarizing the diagnostics, suitable for screen reader announcements. * @internal */ export declare function formatDiagnosticsSummary(diagnostics: InlineDiagnostic[], intl: IntlShape, doc: Text): string; //# sourceMappingURL=format-diagnostics-summary.d.ts.map