import { ThemeColor, ProgressRankItem } from './types'; import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue'; /** 进度条排名组件Props */ export interface ProgressRankProps { /** 数据列表 */ data: ProgressRankItem[]; /** 项目间距 */ itemGap?: string | number; /** 自定义颜色数组 */ colors?: string[]; /** 是否根据percent排序 */ sort?: boolean | 'asc' | 'desc'; /** 选中项索引 */ selectedIdx?: number | null; /** 是否可点击 */ clickable?: boolean; /** 主题色类型,dark和light有默认预设配置和样式 */ themeColor?: ThemeColor; } declare const _default: __VLS_WithTemplateSlots< DefineComponent, { data: () => never[]; itemGap: string; colors: () => string[]; sort: boolean; selectedIdx: undefined; clickable: boolean; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "item-click": (item: ProgressRankItem, index: number) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { data: () => never[]; itemGap: string; colors: () => string[]; sort: boolean; selectedIdx: undefined; clickable: boolean; }>>> & Readonly<{ "onItem-click"?: ((item: ProgressRankItem, index: number) => any) | undefined; }>, { data: ProgressRankItem[]; sort: boolean | "desc" | "asc"; colors: string[]; itemGap: string | number; selectedIdx: number | null; clickable: boolean; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Partial 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; }; };