/**
 * YamlOverrideEditor — React wrapper around the vanilla `YamlEditor`.
 * @countermeasure-platform/web-components/primitives/yaml-override-editor
 *
 * Designed for the training-data UI's "override YAML" surface where
 * specific tokens (e.g. `__DATASET__`, `__VERSION__`) are placeholders
 * the user is expected to fill in. The wrapper:
 *
 * 1. Mounts a CodeMirror YAML editor in a hosted div.
 * 2. Forwards `value` / `onChange` declaratively (controlled).
 * 3. Renders a chip legend listing each declared placeholder with its
 *    label + optional description below the editor.
 * 4. Decorates matching tokens in the document via the CodeMirror
 *    decorations API so the placeholders render with a non-editable
 *    visual highlight (kept client-side to avoid invasive changes to
 *    the vanilla `YamlEditor` config).
 */
export interface YamlOverridePlaceholder {
    label: string;
    description?: string;
}
export interface YamlOverrideEditorProps {
    value: string;
    onChange: (next: string) => void;
    /** Map of placeholder token (e.g. `__DATASET__`) → metadata. */
    placeholders?: Record<string, YamlOverridePlaceholder>;
    readOnly?: boolean;
    /** Editor pixel height or any CSS length. Defaults to `260`. */
    height?: number | string;
    className?: string;
}
export declare function YamlOverrideEditor({ value, onChange, placeholders, readOnly, height, className, }: YamlOverrideEditorProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=yaml-override-editor.d.ts.map