import React, { CSSProperties } from 'react'; import { StepsProps } from 'antd'; export declare const prefixCls = "ued-step-wrap"; export declare type StepStyle = 'number' | 'icon' | 'dot' | 'arrow'; export declare type StepSize = 'small' | 'default'; export declare type StepLabelPlacement = 'horizontal' | 'vertical'; export declare type StepTemplate = 'square' | 'ellipse' | 'default' | 'square-vertical'; export declare type StepStatus = 'wait' | 'process' | 'finish' | 'error'; export interface IconSettingItem { label: string; value: StepStatus; isUsePrimary?: boolean; icon?: any; color?: string; } export interface StepAlias { icon: string; description: string; disabled: string; status: string; subTitle: string; title: string; id: string; } export interface StepComponentProps { dataSource: any[]; size: StepSize; stepStyle: StepStyle; labelPlacement: StepLabelPlacement; direction?: StepsProps['direction']; iconSetting: IconSettingItem[]; template?: StepTemplate; arrowStyle?: 'color' | 'simple' | 'colorFlag' | 'colorArrow'; stepSpace?: number | string; backgroundStyle?: CSSProperties; style?: CSSProperties; className?: string; getCurrentColor: (item: any, statusAlias: string) => string; alias: StepAlias; getEngineApis?: () => any; $$componentItem?: any; onChange?: (current: number) => void; current?: number; getEdEngineApi?: () => any; isED?: boolean; } declare const StepComponent: React.FC; export default StepComponent;