import { AlignItems, LayoutType, InfoCard } from './types'; import { StyleValue, CSSProperties, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComputedRef, PropType } from 'vue'; /** * 信息卡片组件属性接口 * 定义 HlxbInfoCard 组件的所有可配置属性 */ export interface HlxbInfoCardProps { alignItems?: AlignItems; label?: string | number; value?: string | number; layout?: LayoutType; data?: InfoCard; emptyImg?: string; unit?: string; imgSrc?: string; labelClass?: string | CSSProperties; valueClass?: string | CSSProperties; unitClass?: string | CSSProperties; imgClass?: string | CSSProperties; imgStyle?: string | StyleValue; } declare const _default: __VLS_WithTemplateSlots< DefineComponent, { data: () => {}; imgSrc: string; layout: string; emptyImg: any; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { data: () => {}; imgSrc: string; layout: string; emptyImg: any; }>>> & Readonly<{}>, { data: InfoCard; layout: LayoutType; emptyImg: string; imgSrc: string; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { image?(_: { record: { label: ComputedRef; value: ComputedRef; unit: ComputedRef; img: string; }; }): any; label?(_: { record: { label: ComputedRef; value: ComputedRef; unit: ComputedRef; img: string; }; }): any; value?(_: { record: { label: ComputedRef; value: ComputedRef; unit: ComputedRef; img: string; }; }): any; unit?(_: { record: { label: ComputedRef; value: ComputedRef; unit: ComputedRef; img: string; }; }): any; default?(_: { record: { label: ComputedRef; value: ComputedRef; unit: ComputedRef; img: string; }; }): 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; }; };