import { Component, type ReactElement } from 'react'; import * as monaco from 'monaco-editor'; import './InputEditor.scss'; interface InputEditorProps { className?: string; placeholder?: string; value: string; onContentChanged: (value?: string) => void; editorSettings: Partial; editorIndex: number; onTab: (editorIndex: number, shiftKey: boolean) => void; invalid: boolean; } interface InputEditorState { isEditorFocused: boolean; isEditorEmpty: boolean; } /** * A monaco editor that looks like an general input */ export declare class InputEditor extends Component { static defaultProps: { value: string; onContentChanged: () => void; editorSettings: {}; editorIndex: number; onTab: () => void; invalid: boolean; }; constructor(props: InputEditorProps); componentDidMount(): void; componentWillUnmount(): void; editorContainer: HTMLDivElement | null; editor?: monaco.editor.IStandaloneCodeEditor; initEditor(): void; destroyEditor(): void; handleContentChanged(): void; handleEditorFocus(): void; handleEditorBlur(): void; handleContainerClick(): void; handleKeyDown(event: monaco.IKeyboardEvent): void; render(): ReactElement; } export default InputEditor; //# sourceMappingURL=InputEditor.d.ts.map