import { editor } from 'monaco-editor/esm/vs/editor/editor.api'; declare type IEditorScreenPreferencesSpecifiedSize = { width?: string | number; height?: string | number; }; declare type IEditorScreenPreferencesFullScreen = { fullScreen?: true; }; export declare type IEditorSize = IEditorScreenPreferencesSpecifiedSize & IEditorScreenPreferencesFullScreen; export declare type IEditorPreferences = editor.IEditorConstructionOptions & { size?: IEditorSize; }; export declare function initEditorConfig(preferences: IEditorPreferences, content: string | undefined): { w: string; h: string | number; options: editor.IEditorConstructionOptions; }; export {};