import type { MentionOption } from '../types'; import type { PropType } from 'vue'; declare function onKeyDown({ event }: any): boolean; declare function __VLS_template(): { attrs: Partial<{}>; slots: { header?(_: {}): any; content?(_: { items: MentionOption[]; command: Function; hide: Function; insertContentAt: (content: string) => void; insertContent: (content: string) => void; }): any; label?(_: { item: MentionOption; index: number; }): any; footer?(_: {}): any; }; refs: { dropdownRef: HTMLDivElement; scrollbarRef: ({ $: import("vue").ComponentInternalInstance; $data: {}; $props: Partial<{ readonly height: import("element-plus/es/utils").EpPropMergeType; readonly maxHeight: import("element-plus/es/utils").EpPropMergeType; readonly always: boolean; readonly tabindex: import("element-plus/es/utils").EpPropMergeType; readonly minSize: number; readonly native: import("element-plus/es/utils").EpPropMergeType; readonly wrapStyle: import("vue").StyleValue; readonly wrapClass: import("element-plus/es/utils").EpPropMergeType; readonly viewClass: import("element-plus/es/utils").EpPropMergeType; readonly viewStyle: import("element-plus/es/utils").EpPropMergeType; readonly tag: string; readonly noresize: boolean; }> & Omit<{ readonly tag: string; readonly height: import("element-plus/es/utils").EpPropMergeType; readonly maxHeight: import("element-plus/es/utils").EpPropMergeType; readonly native: import("element-plus/es/utils").EpPropMergeType; readonly wrapStyle: import("vue").StyleValue; readonly wrapClass: import("element-plus/es/utils").EpPropMergeType; readonly viewClass: import("element-plus/es/utils").EpPropMergeType; readonly viewStyle: import("element-plus/es/utils").EpPropMergeType; readonly noresize: boolean; readonly always: boolean; readonly minSize: number; readonly id?: string | undefined; readonly tabindex?: import("element-plus/es/utils").EpPropMergeType | undefined; readonly ariaLabel?: string | undefined; readonly role?: string | undefined; readonly ariaOrientation?: string | undefined; onScroll?: ((args_0: { scrollTop: number; scrollLeft: number; }) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tabindex" | "tag" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "always" | "minSize">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; $root: import("vue").ComponentPublicInstance | null; $parent: import("vue").ComponentPublicInstance | null; $host: Element | null; $emit: (event: "scroll", args_0: { scrollTop: number; scrollLeft: number; }) => void; $el: any; $options: import("vue").ComponentOptionsBase; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly height: import("element-plus/es/utils").EpPropFinalized; readonly maxHeight: import("element-plus/es/utils").EpPropFinalized; readonly native: import("element-plus/es/utils").EpPropFinalized; readonly wrapStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>; readonly wrapClass: import("element-plus/es/utils").EpPropFinalized; readonly viewClass: import("element-plus/es/utils").EpPropFinalized; readonly viewStyle: import("element-plus/es/utils").EpPropFinalized; readonly noresize: BooleanConstructor; readonly tag: import("element-plus/es/utils").EpPropFinalized; readonly always: BooleanConstructor; readonly minSize: import("element-plus/es/utils").EpPropFinalized; readonly tabindex: import("element-plus/es/utils").EpPropFinalized; readonly id: StringConstructor; readonly role: StringConstructor; }>> & { onScroll?: ((args_0: { scrollTop: number; scrollLeft: number; }) => any) | undefined; }, { wrapRef: import("vue").Ref; update: () => void; scrollTo: { (xCord: number, yCord?: number): void; (options: ScrollToOptions): void; }; setScrollTop: (value: number) => void; setScrollLeft: (value: number) => void; handleScroll: () => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { scroll: (args_0: { scrollTop: number; scrollLeft: number; }) => void; }, string, { readonly height: import("element-plus/es/utils").EpPropMergeType; readonly maxHeight: import("element-plus/es/utils").EpPropMergeType; readonly always: boolean; readonly tabindex: import("element-plus/es/utils").EpPropMergeType; readonly minSize: number; readonly native: import("element-plus/es/utils").EpPropMergeType; readonly wrapStyle: import("vue").StyleValue; readonly wrapClass: import("element-plus/es/utils").EpPropMergeType; readonly viewClass: import("element-plus/es/utils").EpPropMergeType; readonly viewStyle: import("element-plus/es/utils").EpPropMergeType; readonly tag: string; readonly noresize: boolean; }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import("vue").nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle; } & Readonly<{ readonly height: import("element-plus/es/utils").EpPropMergeType; readonly maxHeight: import("element-plus/es/utils").EpPropMergeType; readonly always: boolean; readonly tabindex: import("element-plus/es/utils").EpPropMergeType; readonly minSize: number; readonly native: import("element-plus/es/utils").EpPropMergeType; readonly wrapStyle: import("vue").StyleValue; readonly wrapClass: import("element-plus/es/utils").EpPropMergeType; readonly viewClass: import("element-plus/es/utils").EpPropMergeType; readonly viewStyle: import("element-plus/es/utils").EpPropMergeType; readonly tag: string; readonly noresize: boolean; }> & Omit; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly height: import("element-plus/es/utils").EpPropFinalized; readonly maxHeight: import("element-plus/es/utils").EpPropFinalized; readonly native: import("element-plus/es/utils").EpPropFinalized; readonly wrapStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>; readonly wrapClass: import("element-plus/es/utils").EpPropFinalized; readonly viewClass: import("element-plus/es/utils").EpPropFinalized; readonly viewStyle: import("element-plus/es/utils").EpPropFinalized; readonly noresize: BooleanConstructor; readonly tag: import("element-plus/es/utils").EpPropFinalized; readonly always: BooleanConstructor; readonly minSize: import("element-plus/es/utils").EpPropFinalized; readonly tabindex: import("element-plus/es/utils").EpPropFinalized; readonly id: StringConstructor; readonly role: StringConstructor; }>> & { onScroll?: ((args_0: { scrollTop: number; scrollLeft: number; }) => any) | undefined; }, "tabindex" | "tag" | "height" | "maxHeight" | "scrollTo" | "setScrollLeft" | "setScrollTop" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "always" | "minSize" | "wrapRef" | "update" | "handleScroll"> & import("vue").ShallowUnwrapRef<{ wrapRef: import("vue").Ref; update: () => void; scrollTo: { (xCord: number, yCord?: number): void; (options: ScrollToOptions): void; }; setScrollTop: (value: number) => void; setScrollLeft: (value: number) => void; handleScroll: () => void; }> & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & { $slots: { default?(_: {}): any; }; }) | null; optionRefs: HTMLLIElement[]; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import("vue").DefineComponent; required: true; }; command: { type: FunctionConstructor; required: true; }; hiddenPopup: { type: FunctionConstructor; required: true; }; range: { type: ObjectConstructor; }; editor: { type: ObjectConstructor; }; }>, { onKeyDown: typeof onKeyDown; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; required: true; }; command: { type: FunctionConstructor; required: true; }; hiddenPopup: { type: FunctionConstructor; required: true; }; range: { type: ObjectConstructor; }; editor: { type: ObjectConstructor; }; }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };