import React from 'react'; import PropTypes from 'prop-types'; import Step from './Step'; import { ComponentProps } from '../utils/types'; interface StepBarPropsBase { /** The `stepId` of the `StepBar.Step` to activate. */ activeStepId: number; /** * Must be `StepBar.Step`. */ children?: React.ReactNode; /** * A React ref which is set to the DOM element when the component mounts and null when it unmounts. */ elementRef?: React.Ref; /** * Setting inline to true makes the Step Bar an inline element. It assumes its minimum width. */ inline?: boolean; /** The flow direction of steps. */ orientation?: 'horizontal' | 'vertical'; } type StepBarProps = ComponentProps; declare function StepBar({ activeStepId, children, elementRef, inline, orientation, ...otherProps }: StepBarProps): React.JSX.Element; declare namespace StepBar { var propTypes: { activeStepId: PropTypes.Validator; children: PropTypes.Requireable; elementRef: PropTypes.Requireable; inline: PropTypes.Requireable; orientation: PropTypes.Requireable; }; var Step: typeof import("./Step").default; } export default StepBar; export { Step };