import { Component, TypeDefs } from 'intact-vue'; import type { editor, default as monaco } from 'monaco-editor'; import type { Events } from '../types'; export interface CodeProps { value?: string; language?: string; theme?: 'vs' | 'vs-dark' | 'hc-black'; readOnly?: boolean; width?: string; height?: string; options?: editor.IStandaloneEditorConstructionOptions; } export interface CodeEvents { ready: [editor.IStandaloneCodeEditor, typeof editor, typeof monaco]; } export declare class Code extends Component { static template: string | import('intact-vue').Template; static typeDefs: Required>; static defaults: () => Partial; static events: Events; private editor; private config; getEditor(): editor.IStandaloneCodeEditor | null; }