UNPKG

formula-editor-vue3

Version:
98 lines (96 loc) 2.58 kB
import { PropType } from 'vue'; import { MathItem, VariableItem } from '../interfaces'; declare function __VLS_template(): Readonly<{ math(props: { insert: (mathName: string) => void; }): any; variable(props: { insert: (varName: string) => void; }): any; }> & { math(props: { insert: (mathName: string) => void; }): any; variable(props: { insert: (varName: string) => void; }): any; }; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ modelValue: import('vue').PropType<any>; title: { type: StringConstructor; default: string; }; isDark: { type: BooleanConstructor; default: boolean; }; disabled: { type: BooleanConstructor; default: boolean; }; height: { type: NumberConstructor; default: number; }; placeholder: { type: StringConstructor; default: string; }; variables: { type: PropType<VariableItem[]>; default: () => never[]; }; mathList: { type: PropType<MathItem[]>; default: () => MathItem[]; }; }>, { insertMaths: (mathName: string) => void; insertVariables: (varName: string) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ modelValue: import('vue').PropType<any>; title: { type: StringConstructor; default: string; }; isDark: { type: BooleanConstructor; default: boolean; }; disabled: { type: BooleanConstructor; default: boolean; }; height: { type: NumberConstructor; default: number; }; placeholder: { type: StringConstructor; default: string; }; variables: { type: PropType<VariableItem[]>; default: () => never[]; }; mathList: { type: PropType<MathItem[]>; default: () => MathItem[]; }; }>> & Readonly<{}>, { title: string; isDark: boolean; disabled: boolean; height: number; placeholder: string; variables: VariableItem[]; mathList: MathItem[]; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };