import { Monaco } from '..'; import { MonacoDiffEditor } from '../diff-editor/diff-editor.js'; import { BaseMonacoInput, SuggestedLanguages } from '../internal/base/input.js'; import type * as monaco from '..'; /** * @element nve-monaco-diff-input * @description An input control for editing diffs for JSON, YAML and code with syntax highlighting and validation. * @since 0.0.0 * @entrypoint \@nvidia-elements/monaco/diff-input * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/textarea * @stable false */ export declare class MonacoDiffInput extends BaseMonacoInput { #private; static readonly metadata: { tag: string; version: string; valueSchema: { type: "string"; }; }; static elementDefinitions: { [MonacoDiffEditor.metadata.tag]: typeof MonacoDiffEditor; }; /** * Determines whether the input prevents editing. */ get disabled(): boolean; set disabled(value: boolean); /** * Defines the programming language for syntax highlighting and validation. */ get language(): SuggestedLanguages | string; set language(value: SuggestedLanguages | string); /** * Defines the original value of the diff. */ get original(): string; set original(value: string); /** * Defines the programming language for syntax highlighting of the original value. * Falls back to the language property if not set. */ get originalLanguage(): SuggestedLanguages | string; set originalLanguage(value: SuggestedLanguages | string); /** * Determines whether the editor is in read-only mode. */ get readOnly(): boolean; set readOnly(value: boolean); /** * Defines whether to render the diff in side-by-side mode (if enough width is available). */ get sideBySide(): boolean; set sideBySide(value: boolean); protected get _editor(): MonacoDiffEditor; protected _createEditor(monaco: Monaco): monaco.editor.IStandaloneCodeEditor; disconnectedCallback(): void; render(): import('lit').TemplateResult<1>; updateOptions(options: monaco.editor.IDiffEditorOptions): void; updateOriginalEditorOptions(options: monaco.editor.IEditorOptions & monaco.editor.IGlobalEditorOptions): void; protected _updateEditorOptions(options: Partial): void; }