import React, { Component } from 'react'; import { CommonComponentType } from '@monorail/types'; import { Step as StepType } from './types'; declare type Props = CommonComponentType & { onStepClick: (step: StepType, index: number) => void; steps: Array; }; declare type State = { activeStepIndex: number; }; export declare class HorizontalStepper extends Component { state: State; activeStepRef: React.RefObject; scrollStepIntoView: () => void; componentDidUpdate(prevProps: Props, prevState: State): void; renderSection: (step: StepType, index: number) => JSX.Element; render(): JSX.Element; } export {};