import { default as EaBase } from '../../core/EaBase'; declare const PROGRESS_VARIANT_TYPES: readonly ["line", "circle", "dashboard"]; type ProgressVariant = (typeof PROGRESS_VARIANT_TYPES)[number]; declare const PROGRESS_STATUS_TYPES: readonly ["success", "warning", "exception"]; type ProgressStatus = (typeof PROGRESS_STATUS_TYPES)[number] | ""; type ProgressColorItem = { color: string; percentage: number; }; type ProgressColor = string | ProgressColorItem[] | ((percentage: number) => string); /** * @summary 进度条组件,用于展示操作进度,支持直线、环形和仪表盘三种形态。 * @status stable * @since 3.0 * * @dependency ea-icon * * @slot default - 默认插槽,用于自定义进度条内容(如环形中心文案或按钮)。 * * @event change - 进度百分比变化时触发,detail: `{ percentage: number }`。 * * @csspart container - 容器元素。 * @csspart track - 轨道元素。 * @csspart path - 进度路径元素。 * @csspart percentage - 百分比文本容器。 * @csspart status-icon - 状态图标元素。 * * @cssproperty --ea-progress-percentage - 进度百分比值。 * @cssproperty --ea-progress-stroke-width - 进度条宽度。 * @cssproperty --ea-progress-default-color - 默认颜色。 * @cssproperty --ea-progress-success-color - 成功状态颜色。 * @cssproperty --ea-progress-exception-color - 异常状态颜色。 * @cssproperty --ea-progress-warning-color - 警告状态颜色。 * @cssproperty --ea-progress-percentage-color - 百分比文字颜色。 * @cssproperty --ea-progress-track-color - 轨道颜色。 * @cssproperty --ea-progress-path-color - 进度路径颜色。 * @cssproperty --ea-progress-size - 环形/仪表盘尺寸。 * @cssproperty --ea-progress-animation-duration - 动画持续时间。 */ export declare class EaProgress extends EaBase { private _container; private _track; private _path; private _percentageWrapper; private _text; variant: ProgressVariant; percentage: number; status: ProgressStatus; strokeWidth: string; textInside: boolean; indeterminate: boolean; duration: number; striped: boolean; stripedFlow: boolean; size: string; showText: boolean; color: ProgressColor; updateContainerClasslist(): string; /** 处理颜色变更,支持字符串、数组和函数三种格式 */ private _handleColorChange; /** 更新状态文本或图标 */ private _updateStatusText; /** 更新进度百分比相关的样式和事件 */ private _updatePercentage; /** 根据 variant 重新渲染内部结构 */ private _render; /** 生成 line 类型的模板 */ private _lineTemplate; html(): string; $mount(): void; } export default EaProgress; //# sourceMappingURL=index.d.ts.map