import { FormValidationStatus } from "../../form/src/public-types.js"; import { ThemeCommonVars } from "../../_styles/common/light.js"; import { ExtractPublicPropTypes } from "../../_utils/naive/extract-public-props.js"; import { MaybeArray } from "../../_utils/vue/call.js"; import "../../_utils/index.js"; import { EmptyTheme } from "../../empty/styles/light.js"; import "../../empty/styles/index.js"; import { InternalSelectMenuTheme } from "../../_internal/select-menu/styles/light.js"; import "../../_internal/select-menu/styles/index.js"; import { InputTheme } from "../../input/styles/light.js"; import "../../input/styles/index.js"; import { ScrollbarProps } from "../../_internal/scrollbar/src/Scrollbar.js"; import { SelectBaseOption, SelectGroupOption, SelectIgnoredOption } from "../../select/src/interface.js"; import { RenderLabel } from "../../_internal/select-menu/src/interface.js"; import "../../_internal/index.js"; import { MentionOption } from "./interface.js"; import { MentionTheme, MentionThemeOverrides, MentionThemeVars } from "../styles/light.js"; import "../styles/index.js"; import { MentionSize } from "./public-types.js"; import "../../index.js"; import { ExtractThemeOverrides } from "../../_mixins/use-theme.js"; import "../../_mixins/index.js"; import { ScrollbarTheme } from "../../_internal/scrollbar/styles/light.js"; import "../../_internal/scrollbar/styles/index.js"; import { CSSProperties, PropType, Ref, SlotsType, VNode } from "vue"; import { TreeNode } from "treemate"; import { FollowerPlacement } from "vueuc"; //#region src/mention/src/Mention.d.ts declare const mentionProps: { readonly to: { type: PropType; default: undefined; }; readonly autosize: PropType; readonly options: { readonly type: PropType; readonly default: readonly []; }; readonly filter: { readonly type: PropType<(pattern: string, option: MentionOption) => boolean>; readonly default: (pattern: string, option: MentionOption) => boolean; }; readonly type: { readonly type: PropType<"text" | "textarea">; readonly default: "text"; }; readonly separator: { readonly type: StringConstructor; readonly validator: (separator: string) => boolean; readonly default: " "; }; readonly bordered: { readonly type: PropType; readonly default: undefined; }; readonly disabled: BooleanConstructor; readonly value: PropType; readonly defaultValue: { readonly type: StringConstructor; readonly default: ""; }; readonly loading: BooleanConstructor; readonly prefix: { readonly type: PropType; readonly default: "@"; }; readonly placeholder: { readonly type: StringConstructor; readonly default: ""; }; readonly placement: { readonly type: PropType; readonly default: "bottom-start"; }; readonly size: PropType; readonly renderLabel: PropType; readonly status: PropType; readonly 'onUpdate:show': PropType void>>; readonly onUpdateShow: PropType void>>; readonly 'onUpdate:value': PropType void>>; readonly onUpdateValue: PropType void>>; readonly onSearch: PropType<(pattern: string, prefix: string) => void>; readonly onSelect: PropType<(option: MentionOption, prefix: string) => void>; readonly onFocus: PropType<(e: FocusEvent) => void>; readonly onBlur: PropType<(e: FocusEvent) => void>; readonly scrollbarProps: PropType; readonly internalDebug: BooleanConstructor; readonly theme: PropType; readonly themeOverrides: PropType; readonly builtinThemeOverrides: PropType; }; type MentionProps = ExtractPublicPropTypes; interface MentionSlots { default?: () => VNode[]; empty?: () => VNode[]; } declare const _default: import("vue").DefineComponent; default: undefined; }; readonly autosize: PropType; readonly options: { readonly type: PropType; readonly default: readonly []; }; readonly filter: { readonly type: PropType<(pattern: string, option: MentionOption) => boolean>; readonly default: (pattern: string, option: MentionOption) => boolean; }; readonly type: { readonly type: PropType<"text" | "textarea">; readonly default: "text"; }; readonly separator: { readonly type: StringConstructor; readonly validator: (separator: string) => boolean; readonly default: " "; }; readonly bordered: { readonly type: PropType; readonly default: undefined; }; readonly disabled: BooleanConstructor; readonly value: PropType; readonly defaultValue: { readonly type: StringConstructor; readonly default: ""; }; readonly loading: BooleanConstructor; readonly prefix: { readonly type: PropType; readonly default: "@"; }; readonly placeholder: { readonly type: StringConstructor; readonly default: ""; }; readonly placement: { readonly type: PropType; readonly default: "bottom-start"; }; readonly size: PropType; readonly renderLabel: PropType; readonly status: PropType; readonly 'onUpdate:show': PropType void>>; readonly onUpdateShow: PropType void>>; readonly 'onUpdate:value': PropType void>>; readonly onUpdateValue: PropType void>>; readonly onSearch: PropType<(pattern: string, prefix: string) => void>; readonly onSelect: PropType<(option: MentionOption, prefix: string) => void>; readonly onFocus: PropType<(e: FocusEvent) => void>; readonly onBlur: PropType<(e: FocusEvent) => void>; readonly scrollbarProps: PropType; readonly internalDebug: BooleanConstructor; readonly theme: PropType; readonly themeOverrides: PropType; readonly builtinThemeOverrides: PropType; }>, { namespace: import("vue").ComputedRef; mergedClsPrefix: Ref; mergedBordered: import("vue").ComputedRef; mergedSize: import("vue").ComputedRef; mergedStatus: import("vue").ComputedRef; mergedTheme: import("vue").ComputedRef<{ common: ThemeCommonVars; self: MentionThemeVars; peers: { InternalSelectMenu: InternalSelectMenuTheme; Input: InputTheme; }; peerOverrides: { InternalSelectMenu?: { peers?: { Scrollbar?: ExtractThemeOverrides | undefined; Empty?: ExtractThemeOverrides | undefined; } | undefined; } | undefined; Input?: { peers?: { Scrollbar?: ExtractThemeOverrides | undefined; } | undefined; } | undefined; }; }>; treeMate: import("vue").ComputedRef, selected: boolean) => import("vue").VNodeChild)>, SelectGroupOption, SelectIgnoredOption>>; selectMenuInstRef: unknown; inputInstRef: unknown; cursorRef: Ref; followerRef: unknown; wrapperElRef: Ref; showMenu: Ref; adjustedTo: import("vue").ComputedRef; isMounted: Readonly>; mergedValue: import("vue").ComputedRef; handleInputFocus: (e: FocusEvent) => void; handleInputBlur: (e: FocusEvent) => void; handleInputUpdateValue: (value: string) => void; handleInputKeyDown: (e: KeyboardEvent) => void; handleSelect: (tmNode: TreeNode) => void; handleInputMouseDown: () => void; focus: () => void; blur: () => void; cssVars: Ref | undefined; themeClass: Ref | undefined; onRender: (() => void) | undefined; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; default: undefined; }; readonly autosize: PropType; readonly options: { readonly type: PropType; readonly default: readonly []; }; readonly filter: { readonly type: PropType<(pattern: string, option: MentionOption) => boolean>; readonly default: (pattern: string, option: MentionOption) => boolean; }; readonly type: { readonly type: PropType<"text" | "textarea">; readonly default: "text"; }; readonly separator: { readonly type: StringConstructor; readonly validator: (separator: string) => boolean; readonly default: " "; }; readonly bordered: { readonly type: PropType; readonly default: undefined; }; readonly disabled: BooleanConstructor; readonly value: PropType; readonly defaultValue: { readonly type: StringConstructor; readonly default: ""; }; readonly loading: BooleanConstructor; readonly prefix: { readonly type: PropType; readonly default: "@"; }; readonly placeholder: { readonly type: StringConstructor; readonly default: ""; }; readonly placement: { readonly type: PropType; readonly default: "bottom-start"; }; readonly size: PropType; readonly renderLabel: PropType; readonly status: PropType; readonly 'onUpdate:show': PropType void>>; readonly onUpdateShow: PropType void>>; readonly 'onUpdate:value': PropType void>>; readonly onUpdateValue: PropType void>>; readonly onSearch: PropType<(pattern: string, prefix: string) => void>; readonly onSelect: PropType<(option: MentionOption, prefix: string) => void>; readonly onFocus: PropType<(e: FocusEvent) => void>; readonly onBlur: PropType<(e: FocusEvent) => void>; readonly scrollbarProps: PropType; readonly internalDebug: BooleanConstructor; readonly theme: PropType; readonly themeOverrides: PropType; readonly builtinThemeOverrides: PropType; }>> & Readonly<{}>, { readonly filter: (pattern: string, option: MentionOption) => boolean; readonly to: string | boolean | HTMLElement; readonly loading: boolean; readonly type: "textarea" | "text"; readonly bordered: boolean | undefined; readonly disabled: boolean; readonly defaultValue: string; readonly placeholder: string; readonly placement: FollowerPlacement; readonly options: MentionOption[]; readonly separator: string; readonly prefix: string | string[]; readonly internalDebug: boolean; }, SlotsType, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //#endregion export { MentionProps, MentionSlots, _default as default, mentionProps };