import { ExtractPropTypes, PropType } from 'vue'; import type { editor } from 'monaco-editor'; type CodeValidator = (markers: editor.IMarker[]) => { valid: boolean; message: string; }; export declare const codeEditorProps: { title: { type: StringConstructor; default: string; }; content: { type: StringConstructor; default: string; }; originalContent: { type: StringConstructor; default: undefined; }; language: { type: StringConstructor; default: string; }; width: { type: (StringConstructor | NumberConstructor)[]; default: string; }; height: { type: (StringConstructor | NumberConstructor)[]; default: string; }; readonly: { type: BooleanConstructor; default: boolean; }; hideToolbar: { type: BooleanConstructor; default: boolean; }; hideFullScreen: { type: BooleanConstructor; default: boolean; }; enableAutoDiff: { type: BooleanConstructor; default: boolean; }; hideUpload: { type: BooleanConstructor; default: boolean; }; hideDownload: { type: BooleanConstructor; default: boolean; }; downloadFileName: { type: StringConstructor; default: string; }; mode: { type: PropType<"normal" | "diff">; default: string; }; uri: { type: StringConstructor; default: undefined; }; editorOptions: { type: PropType; default: () => {}; }; validator: { type: PropType; default: undefined; }; appendTo: { type: PropType; default: string; }; rounded: { type: BooleanConstructor; default: boolean; }; formattable: { type: BooleanConstructor; default: boolean; }; }; export type CodeEditorProps = ExtractPropTypes; export declare const codeEditorEmits: { change: (content: string) => void; init: () => void; ready: () => void; 'update:content': (content: string) => void; }; export {};