import type { ExtractPropTypes, PropType } from 'vue'; export interface ProgressColor { color: string; percentage: number; } export type ProgressFn = (percentage: number) => string; export declare const TYPE_MAP: { line: string; circle: string; dashboard: string; }; export declare const STATUS_MAP: { success: string; warning: string; error: string; }; export declare const STATUS_COLOR_MAP: Record; export declare const SIZE_MAP: Record; export declare const progressProps: { /** * @description The type of progress bar. */ readonly type: { readonly type: PropType<"circle" | "line" | "dashboard">; readonly default: "line"; }; /** * @description Progress percentage. */ readonly percentage: { readonly type: NumberConstructor; readonly default: 0; }; /** * @description The current status of progress bar. */ readonly status: { readonly type: PropType<"error" | "success" | "warning">; readonly default: ""; }; /** * @description Set indeterminate progress. */ readonly indeterminate: BooleanConstructor; /** * @description Control the animation duration of indeterminate progress. */ readonly duration: { readonly type: NumberConstructor; readonly default: 3; }; /** * @description The width of progress bar. */ readonly strokeWidth: { readonly type: PropType; readonly default: 6; }; /** * @description Circle/Dashboard type shape at the end path. */ readonly strokeLinecap: { readonly type: PropType<"round" | "butt" | "square">; readonly default: "round"; }; readonly textInside: BooleanConstructor; /** * @description The canvas width of circle progress bar. */ readonly width: { readonly type: NumberConstructor; readonly default: 126; }; /** * @description Whether to show percentage. */ readonly showText: { readonly type: BooleanConstructor; readonly default: true; }; /** * @description Progress bar color. Overrides `status` prop. */ readonly color: { readonly type: PropType; readonly default: ""; }; /** * @description Progress bar Background color. */ readonly bgColor: { readonly type: PropType; readonly default: ""; }; readonly striped: BooleanConstructor; /** * @description Let the stripes flow. */ readonly stripedFlow: BooleanConstructor; /** * @direction Do not synchronize the text color with the progress bar color. */ readonly notTextColor: BooleanConstructor; /** * @description Custom text format. */ readonly format: { readonly type: PropType; readonly default: (percentage: number) => string; }; }; export type OProgressProps = ExtractPropTypes;