import * as monaco from 'monaco-editor/esm/vs/editor/editor.api.js';
/**
 * Returns up to `maxVisible` diagnostics from the provided markers array,
 * filtering to only errors and warnings, sorted by severity and position in the document.
 */
export declare const getVisibleDiagnostics: (markers: monaco.editor.IMarker[], maxVisible: number) => monaco.editor.IMarker[];
//# sourceMappingURL=get-visible-diagnostics.d.ts.map