import { IDomEditor, IEditorConfig, SlateDescendant } from '@wangeditor-next/editor'; import { ComponentOptionsMixin, ComputedOptions, DefineComponent, MethodOptions, Ref, PropType } from 'vue'; type AlertType = 'success' | 'info' | 'warning' | 'error'; declare const componentProps: { /** 编辑器模式 */ mode: { type: StringConstructor; default: string; }; /** 编辑器默认内容 */ defaultContent: { type: PropType; default: () => never[]; }; defaultHtml: { type: StringConstructor; default: string; }; /** 编辑器默认配置 */ defaultConfig: { type: PropType>; default: () => {}; }; modelValue: { type: StringConstructor; default: string; }; }; declare const emits: { 'update:modelValue': (_val: string) => boolean; onCreated: (_editor: IDomEditor) => boolean; onChange: (_editor: IDomEditor) => boolean; onDestroyed: (_editor: IDomEditor) => boolean; onMaxLength: (_editor: IDomEditor) => boolean; onFocus: (_editor: IDomEditor) => boolean; onBlur: (_editor: IDomEditor) => boolean; customAlert: (_info: string, _type: AlertType) => boolean; customPaste: (_editor: IDomEditor, _event: ClipboardEvent, _cb: (v: boolean) => void) => boolean; }; declare const _default: DefineComponent; }, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, typeof emits>; export default _default;