declare module '@wangeditor/editor-for-vue' {
  import type { DefineComponent } from 'vue';
  import type { IDomEditor, IEditorConfig, IToolbarConfig } from '@wangeditor/editor';

  export const Editor: DefineComponent<{
    modelValue?: string | null;
    defaultConfig?: Partial<IEditorConfig>;
    defaultContent?: unknown[];
    defaultHtml?: string;
    mode?: 'default' | 'simple';
  }>;

  export const Toolbar: DefineComponent<{
    editor: IDomEditor | null | undefined;
    defaultConfig?: Partial<IToolbarConfig>;
    mode?: 'default' | 'simple';
  }>;
}
