import { SFCWithInstall } from '@chenms-zj/utils/with-install'; import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue'; import { ProgressType, ProgressStatus, FormatFunction, ProgressSize, TextPosition } from './src/progress'; export declare const Progress: SFCWithInstall<{ new (...args: any[]): CreateComponentPublicInstanceWithMixins boolean; }; readonly type: { readonly type: PropType; readonly default: "line"; readonly validator: (val: string) => boolean; }; readonly strokeWidth: { readonly type: NumberConstructor; readonly default: 6; }; readonly textInside: { readonly type: BooleanConstructor; readonly default: false; }; readonly status: { readonly type: PropType; readonly default: ""; readonly validator: (val: string) => boolean; }; readonly showText: { readonly type: BooleanConstructor; readonly default: true; }; readonly color: { readonly type: PropType string)>; readonly default: ""; }; readonly width: { readonly type: NumberConstructor; readonly default: 126; }; readonly striped: { readonly type: BooleanConstructor; readonly default: false; }; readonly stripedFlow: { readonly type: BooleanConstructor; readonly default: false; }; readonly format: { readonly type: PropType; readonly default: (percentage: number) => string; }; readonly size: { readonly type: PropType; readonly default: "default"; readonly validator: (val: string) => boolean; }; readonly animated: { readonly type: BooleanConstructor; readonly default: false; }; readonly textPosition: { readonly type: PropType; readonly default: "outside"; readonly validator: (val: string) => boolean; }; readonly gapDegree: { readonly type: NumberConstructor; readonly default: 75; readonly validator: (val: number) => boolean; }; }>> & Readonly<{ "onUpdate:percentage"?: ((percentage: number) => any) | undefined; }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:percentage": (percentage: number) => void; }, PublicProps, { readonly size: ProgressSize; readonly type: ProgressType; readonly color: string | string[] | ((percentage: number) => string); readonly percentage: number; readonly status: ProgressStatus; readonly width: number; readonly strokeWidth: number; readonly textInside: boolean; readonly showText: boolean; readonly striped: boolean; readonly stripedFlow: boolean; readonly format: FormatFunction; readonly animated: boolean; readonly textPosition: TextPosition; readonly gapDegree: number; }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly< ExtractPropTypes<{ readonly percentage: { readonly type: NumberConstructor; readonly default: 0; readonly required: true; readonly validator: (val: number) => boolean; }; readonly type: { readonly type: PropType; readonly default: "line"; readonly validator: (val: string) => boolean; }; readonly strokeWidth: { readonly type: NumberConstructor; readonly default: 6; }; readonly textInside: { readonly type: BooleanConstructor; readonly default: false; }; readonly status: { readonly type: PropType; readonly default: ""; readonly validator: (val: string) => boolean; }; readonly showText: { readonly type: BooleanConstructor; readonly default: true; }; readonly color: { readonly type: PropType string)>; readonly default: ""; }; readonly width: { readonly type: NumberConstructor; readonly default: 126; }; readonly striped: { readonly type: BooleanConstructor; readonly default: false; }; readonly stripedFlow: { readonly type: BooleanConstructor; readonly default: false; }; readonly format: { readonly type: PropType; readonly default: (percentage: number) => string; }; readonly size: { readonly type: PropType; readonly default: "default"; readonly validator: (val: string) => boolean; }; readonly animated: { readonly type: BooleanConstructor; readonly default: false; }; readonly textPosition: { readonly type: PropType; readonly default: "outside"; readonly validator: (val: string) => boolean; }; readonly gapDegree: { readonly type: NumberConstructor; readonly default: 75; readonly validator: (val: number) => boolean; }; }>> & Readonly<{ "onUpdate:percentage"?: ((percentage: number) => any) | undefined; }>, {}, {}, {}, {}, { readonly size: ProgressSize; readonly type: ProgressType; readonly color: string | string[] | ((percentage: number) => string); readonly percentage: number; readonly status: ProgressStatus; readonly width: number; readonly strokeWidth: number; readonly textInside: boolean; readonly showText: boolean; readonly striped: boolean; readonly stripedFlow: boolean; readonly format: FormatFunction; readonly animated: boolean; readonly textPosition: TextPosition; readonly gapDegree: number; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & ComponentOptionsBase boolean; }; readonly type: { readonly type: PropType; readonly default: "line"; readonly validator: (val: string) => boolean; }; readonly strokeWidth: { readonly type: NumberConstructor; readonly default: 6; }; readonly textInside: { readonly type: BooleanConstructor; readonly default: false; }; readonly status: { readonly type: PropType; readonly default: ""; readonly validator: (val: string) => boolean; }; readonly showText: { readonly type: BooleanConstructor; readonly default: true; }; readonly color: { readonly type: PropType string)>; readonly default: ""; }; readonly width: { readonly type: NumberConstructor; readonly default: 126; }; readonly striped: { readonly type: BooleanConstructor; readonly default: false; }; readonly stripedFlow: { readonly type: BooleanConstructor; readonly default: false; }; readonly format: { readonly type: PropType; readonly default: (percentage: number) => string; }; readonly size: { readonly type: PropType; readonly default: "default"; readonly validator: (val: string) => boolean; }; readonly animated: { readonly type: BooleanConstructor; readonly default: false; }; readonly textPosition: { readonly type: PropType; readonly default: "outside"; readonly validator: (val: string) => boolean; }; readonly gapDegree: { readonly type: NumberConstructor; readonly default: 75; readonly validator: (val: number) => boolean; }; }>> & Readonly<{ "onUpdate:percentage"?: ((percentage: number) => any) | undefined; }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:percentage": (percentage: number) => void; }, string, { readonly size: ProgressSize; readonly type: ProgressType; readonly color: string | string[] | ((percentage: number) => string); readonly percentage: number; readonly status: ProgressStatus; readonly width: number; readonly strokeWidth: number; readonly textInside: boolean; readonly showText: boolean; readonly striped: boolean; readonly stripedFlow: boolean; readonly format: FormatFunction; readonly animated: boolean; readonly textPosition: TextPosition; readonly gapDegree: number; }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => { $slots: { default?(_: {}): any; default?(_: {}): any; default?(_: {}): any; }; })>; export default Progress; export * from './src/progress'; declare module 'vue' { interface GlobalComponents { 'cms-progress': typeof Progress; } }