import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue'; export interface Data { label: string; value: string; [key: string]: any; } export interface SelectProps { data?: Data[]; /** 主题 light | dark | 自定义主题类名 */ themeColor?: 'light' | 'dark' | string; /** 弹窗类名 */ popupClassName?: string; /** 主色调(用于边框、选中状态等,仅 Dark 模式生效) */ primaryColor?: string; /** 背景色(输入框和下拉面板背景,仅 Dark 模式生效) */ backgroundColor?: string; /** 文字颜色(仅 Dark 模式生效) */ textColor?: string; } declare const _default: __VLS_WithTemplateSlots< DefineComponent, { data: () => never[]; themeColor: string; popupClassName: string; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { data: () => never[]; themeColor: string; popupClassName: string; }>>> & Readonly<{}>, { data: Data[]; themeColor: string; popupClassName: string; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Partial any>> & { options?(_: {}): any; option?(_: { item: Data; index: number; }): any; }>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };