import React, { ReactNode } from 'react'; import { ColorPropsValue, DivProps } from '../../types'; export interface ProgressProps extends DivProps { showInfo?: boolean; renderInfo?(value: number): ReactNode; color?: ColorPropsValue; status?: 'default' | 'processing' | 'success' | 'error'; variant?: 'linear' | 'circular' | 'gauge'; /** {@link variant}为`gauge`时有效,下方缺口的角度,默认为`90` */ gapDegree?: number; /** {@link variant}为`circular`时有效,表示圆圈的大小 */ size?: number; /** * @enum {@link variant}为`linear`时,表示进度条粗细 * @enum {@link variant}为`circular`或`gauge`时,表示圆环的宽度 * 默认为4 */ barWidth?: number; /** 若为`true`,则会一直播放动画,默认为`false` */ indeterminate?: boolean; strokeLinecap?: React.SVGAttributes['strokeLinecap']; value?: number; } export declare const Progress: React.MemoExoticComponent<({ showInfo, renderInfo, color, status, variant, gapDegree, size, indeterminate, barWidth, strokeLinecap, value, ...props }: ProgressProps) => import("@emotion/react/jsx-runtime").JSX.Element>;