/// import { ClassName, ThemeProps } from 'amis-core'; export declare enum StepStatus { wait = "wait", process = "process", finish = "finish", error = "error" } export type StepObject = { className?: ClassName; /** * 标题 */ title?: string | JSX.Element; /** * 子标题 */ subTitle?: string | JSX.Element; /** * 图标 */ icon?: string; value?: string | number; /** * 描述 */ description?: string | JSX.Element; status?: StepStatus; iconClassName?: string; }; export interface StepsObject { /** * 指定为 Steps 步骤条渲染器 */ type: 'steps'; /** * 步骤 */ steps?: Array; /** * API 或 数据映射 */ source?: string; /** * 指定当前步骤 */ value?: number | string; /** * 变量映射 */ name?: string; status: StepStatus; /** * 展示模式 */ mode?: 'horizontal' | 'vertical'; /** * 标签放置位置 */ labelPlacement?: 'horizontal' | 'vertical'; } export interface StepsProps extends ThemeProps { steps: StepObject[]; className: string; current: number; status?: StepStatus | { [propName: string]: StepStatus; }; mode?: 'horizontal' | 'vertical'; labelPlacement?: 'horizontal' | 'vertical'; progressDot?: boolean; useMobileUI?: boolean; } export declare function Steps(props: StepsProps): JSX.Element; declare const _default: { new (props: Omit & import("amis-core/lib/theme").ThemeOutterProps): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & import("amis-core/lib/theme").ThemeOutterProps> & Readonly<{ children?: import("react").ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: import("react").ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: import("react").Context; ComposedComponent: import("react").ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof Steps; }; export default _default;