import { Marker } from '../../common/marker'; import { Diagnostic, DiagnosticSeverity } from '@theia/core/shared/vscode-languageserver-protocol'; export declare namespace ProblemUtils { /** * Comparator for severity. * - The highest severity (`error`) come first followed by others. * - `undefined` severities are treated as the last ones. * @param a the first marker for comparison. * @param b the second marker for comparison. */ const severityCompareMarker: (a: Marker, b: Marker) => number; /** * Comparator for severity. * - The highest severity (`error`) come first followed by others. * - `undefined` severities are treated as the last ones. * @param a the first severity for comparison. * @param b the second severity for comparison. */ const severityCompare: (a: DiagnosticSeverity | undefined, b: DiagnosticSeverity | undefined) => number; /** * Comparator for line numbers. * - The lowest line number comes first. * @param a the first marker for comparison. * @param b the second marker for comparison. */ const lineNumberCompare: (a: Marker, b: Marker) => number; /** * Comparator for column numbers. * - The lowest column number comes first. * @param a the first marker for comparison. * @param b the second marker for comparison. */ const columnNumberCompare: (a: Marker, b: Marker) => number; /** * Comparator for marker owner (source). * - The order is alphabetical. * @param a the first marker for comparison. * @param b the second marker for comparison. */ const ownerCompare: (a: Marker, b: Marker) => number; function getPriority(marker: Marker): number; function getColor(marker: Marker): string; function filterMarker(marker: Marker): boolean; } //# sourceMappingURL=problem-utils.d.ts.map