import * as monaco from 'monaco-editor'; export type EditorModel = { value: string; language?: string; uri?: any; }; export interface EditorOptions extends Omit { model?: monaco.editor.ITextModel | EditorModel; } export type EditorModelType = EditorModel | monaco.editor.ITextModel; export type MonacoEditor = { monaco: typeof monaco; editor: monaco.editor.IStandaloneCodeEditor; }; export type EditorTheme = 'vs' | 'vs-dark' | 'hc-black' | 'hc-light';