import React from 'react'; import PropTypes from 'prop-types'; import { ComponentProps } from '../utils/types'; interface StepPropsBase { 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; /** Displays active step with alert icon. */ error?: boolean; /** * A unique `id` for this step and used by the `StepBar` to keep track of the open `Step`. * Defaults to a zero-based index matching the component's position in `StepBar`. */ stepId?: number; } type StepProps = ComponentProps; declare function Step({ children, elementRef, error, // eslint-disable-line @typescript-eslint/no-unused-vars stepId, ...otherProps }: StepProps): React.JSX.Element; declare namespace Step { var propTypes: { children: PropTypes.Requireable; elementRef: PropTypes.Requireable; error: PropTypes.Requireable; stepId: PropTypes.Requireable; }; } export default Step;