import React from 'react'; import Step from './step'; import { Status, Icons } from './step'; export type StepIconRender = (info: { index: number; status: Status; title: React.ReactNode; description: React.ReactNode; node: React.ReactNode; }) => React.ReactNode; export type ProgressDotRender = (iconDot: any, info: { index: number; status: Status; title: React.ReactNode; description: React.ReactNode; }) => React.ReactNode; export type StepsDirectionType = 'horizontal' | 'vertical'; export interface StepsProps { children?: React.ReactNode; direction?: StepsDirectionType; status?: Status; current?: number; progressDot?: ProgressDotRender | boolean; stepIcon?: StepIconRender; initial?: number; icons?: Icons; onChange?: (current: number) => void; } declare const InternalSteps: React.FC; type InternalStepsType = typeof InternalSteps; interface StepsInterface extends InternalStepsType { Step: typeof Step; } declare const Steps: StepsInterface; export default Steps;