import { CSSProperties, DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; import { WeatherData, LayoutType } from './types'; export interface HWeatherProps { /** 天气数据 */ data: WeatherData; /** 布局类型 */ layout?: LayoutType; /** 当前日期显示文本 */ currentDate?: string; /** 星期显示文本 */ currentWeekday?: string; /** 天气预报文本 */ forecast?: string; /** 是否显示风力图标 */ showWindIcon?: boolean; /** 风力图标路径 */ windIcon?: string; /** 天气图标尺寸 */ iconSize?: { width: number; height: number; }; /** 自定义样式类 */ customClass?: string; /** 自定义样式 */ customStyle?: CSSProperties; } declare const _default: __VLS_WithTemplateSlots< DefineComponent, { layout: string; showWindIcon: boolean; windIcon: any; iconSize: () => { width: number; height: number; }; }>>, { WeatherIcon: DefineComponent; required: true; }; size: { type: PropType; default: number; }; width: { type: PropType; }; height: { type: PropType; }; }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{ code: { type: PropType; required: true; }; size: { type: PropType; default: number; }; width: { type: PropType; }; height: { type: PropType; }; }>> & Readonly<{}>, { size: number; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { layout: string; showWindIcon: boolean; windIcon: any; iconSize: () => { width: number; height: number; }; }>>> & Readonly<{}>, { layout: LayoutType; iconSize: { width: number; height: number; }; showWindIcon: boolean; windIcon: string; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { "weather-text"?(_: {}): any; "date-line"?(_: {}): any; forecast?(_: {}): any; "weather-icon"?(_: {}): 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; }; };