import * as monaco from 'monaco-editor/editor/editor.api'; import type { CodedProblem } from '../components/Provider.js'; /** A marker to set, and the coded problem its message was worded from, when it has a code. */ export interface ProblemMarker { marker: monaco.editor.IMarkerData; problem?: CodedProblem | undefined; } /** Records which of `markers` came from coded problems, and sets them on the model when they changed. */ export declare function setProblemMarkers(model: monaco.editor.ITextModel, owner: string, markers: ProblemMarker[], same?: (current: monaco.editor.IMarker[], wanted: monaco.editor.IMarkerData[]) => boolean | undefined): void; /** The coded problem a marker's message was worded from, when it had a code. */ export declare function markerProblem(marker: monaco.editor.IMarker): CodedProblem | undefined;