@matechat/core
Version:
前端智能化场景解决方案UI库,轻松构建你的AI应用。
25 lines (24 loc) • 613 B
TypeScript
import type { ExtractPropTypes, PropType } from 'vue';
export interface Trigger {
key: string;
onlyInputStart?: boolean;
}
export declare const mentionProps: {
modelValue: {
type: BooleanConstructor;
default: boolean;
};
prefix: {
type: PropType<Array<string | Trigger>>;
default: () => never[];
};
fitHostWidth: {
type: BooleanConstructor;
default: boolean;
};
menuClass: {
type: StringConstructor;
};
};
export type MentionProps = ExtractPropTypes<typeof mentionProps>;
export declare const mentionEmits: string[];