import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/editor-suggestion-menu'; import type { EditorMenuOptions } from '../composables/useEditorMenu'; import type { IconComponent } from '../types'; import type { EditorItem, EditorCustomHandlers } from '../types/editor'; import type { ComponentConfig } from '../types/tv'; type EditorSuggestionMenu = ComponentConfig; type EditorSuggestionMenuLabelItem = { type: 'label'; label: string; class?: any; [key: string]: any; }; type EditorSuggestionMenuSeparatorItem = { type: 'separator'; class?: any; [key: string]: any; }; type EditorSuggestionMenuActionItem = { type?: never; label: string; description?: string; /** * @IconComponent */ icon?: IconComponent; disabled?: boolean; class?: any; [key: string]: any; } & EditorItem; export type EditorSuggestionMenuItem = EditorSuggestionMenuLabelItem | EditorSuggestionMenuSeparatorItem | EditorSuggestionMenuActionItem; export interface EditorSuggestionMenuProps extends Partial, 'editor' | 'char' | 'pluginKey' | 'filterFields' | 'limit' | 'options' | 'suggestion' | 'appendTo'>> { /** * @defaultValue 'md' */ size?: EditorSuggestionMenu['variants']['size']; items?: T[] | T[][]; class?: any; b24ui?: EditorSuggestionMenu['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> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: {}; emit: {}; }>) => import("vue").VNode & { __ctx?: Awaited; }; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};