import type { AppConfig } from '@nuxt/schema'; import theme from '#build/ui/editor-mention-menu'; import type { EditorMenuOptions } from '../composables/useEditorMenu'; import type { AvatarProps } from './Avatar.vue'; import type { IconProps } from './Icon.vue'; import type { ComponentConfig } from '../types/tv'; type EditorMentionMenu = ComponentConfig; export interface EditorMentionMenuItem { label: string; description?: string; /** * @IconifyIcon */ icon?: IconProps['name']; avatar?: AvatarProps; disabled?: boolean; class?: any; [key: string]: any; } export interface EditorMentionMenuProps extends Partial, 'editor' | 'char' | 'pluginKey' | 'filterFields' | 'limit' | 'options' | 'suggestion' | 'appendTo' | 'ignoreFilter'>> { /** * @defaultValue 'md' */ size?: EditorMentionMenu['variants']['size']; items?: T[] | T[][]; class?: any; ui?: EditorMentionMenu['slots']; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & __VLS_PrettifyLocal<(EditorMentionMenuProps & { searchTerm?: string; }) & { "onUpdate:searchTerm"?: ((value: string) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: {}; emit: (event: "update:searchTerm", value: string) => void; }>) => import("vue").VNode & { __ctx?: NonNullable>; }; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};