import type { CodedProblem } from '../components/Provider.js'; /** * Every code the editor gives a YAML problem, with the params its message reads. A host words each * in the reader's language through `useProblemMessage`; one it has no message for keeps the YAML * service's English. */ export declare const YAML_PROBLEM_CODES: Readonly>; /** The translation bundle the YAML service starts with, which words each schema problem as its code * and params. */ export declare function yamlProblemBundle(): Record; /** * A diagnostic from the YAML service as a coded problem: its code and params, and the English the * service would have shown, which stays when the host has no message for the code. A diagnostic * with no code keeps its own text. */ export declare function yamlProblem(diagnostic: { message: string; code?: number | string | undefined; source?: string | undefined; }): CodedProblem;