import React from 'react'; export interface StepProps extends React.HTMLAttributes { /** Change-button for step **/ actionBtn?: { icon?: string; event?: () => void; text: string; ariaLabel?: string; }; /** Title displayed in the step */ stepTitle?: string; /** Type of step */ stepType?: 'passive' | 'active' | 'result' | 'next'; /** If the step is visible or not */ showStep?: boolean; /** Id uses in aria-controls on show/hide button that points to content panel */ stepId?: string; /** Icon in the result step */ resultIcon?: string; className?: string; stepNumber?: number; /** If the step should have an outer grid for alignment to surrounding elements */ gridSpacing?: boolean; /** Set title heading tag-hierarchy. Value 1-6.*/ headingLevel?: number; children?: React.ReactElement; } /** * @deprecated Komponenten er erstattet av StepList.Step fra "@skatteetaten/ds-collections" * visibleName Step (Enkeltsteg) */ export declare const Step: (props: StepProps) => JSX.Element;