UNPKG

@matechat/core

Version:

前端智能化场景解决方案UI库,轻松构建你的AI应用。

102 lines (101 loc) 3.09 kB
import { type PropType } from 'vue'; import { type FormatContentItem, SubmitShortKey } from '../input-types'; declare var __VLS_6: { themeTag: { type: "themeTag"; themeTagKey?: string | undefined; themeTagText: string; clearInput?: boolean | undefined; popoverContent: string; }; }; type __VLS_Slots = {} & { themeTag?: (props: typeof __VLS_6) => any; }; declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ templateParts: { type: ArrayConstructor; default: () => never[]; }; placeholder: { type: StringConstructor; default: string; }; maxLength: { type: NumberConstructor; default: number; }; disabled: { type: BooleanConstructor; default: boolean; }; submitShortKey: { type: PropType<SubmitShortKey | null>; default: SubmitShortKey; }; autofocus: { type: BooleanConstructor; default: boolean; }; }>, { clearInput: () => void; getInput: () => any; focusInput: () => void; setMixTags: (mixTagConfig: FormatContentItem[]) => void; setText: (text: string) => void; setInputTag: (key: string, placeholder: string, defaultValue?: string) => void; openTipTag: (themeTagText: string, popoverContent: string, clearInput?: boolean) => void; closeTipTag: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { input: (...args: any[]) => void; blur: (...args: any[]) => void; focus: (...args: any[]) => void; send: (...args: any[]) => void; onBlockKeyArrowUp: (...args: any[]) => void; }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ templateParts: { type: ArrayConstructor; default: () => never[]; }; placeholder: { type: StringConstructor; default: string; }; maxLength: { type: NumberConstructor; default: number; }; disabled: { type: BooleanConstructor; default: boolean; }; submitShortKey: { type: PropType<SubmitShortKey | null>; default: SubmitShortKey; }; autofocus: { type: BooleanConstructor; default: boolean; }; }>> & Readonly<{ onInput?: ((...args: any[]) => any) | undefined; onBlur?: ((...args: any[]) => any) | undefined; onFocus?: ((...args: any[]) => any) | undefined; onSend?: ((...args: any[]) => any) | undefined; onOnBlockKeyArrowUp?: ((...args: any[]) => any) | undefined; }>, { autofocus: boolean; disabled: boolean; placeholder: string; maxLength: number; submitShortKey: SubmitShortKey | null; templateParts: unknown[]; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };