import { default as React, ReactNode } from 'react';
import { Rect } from 'react-use-rect';
import { IconLibrary, IconType } from '../../utils/icon-utils';
import { StepTitleSize } from './constants';
type Numberish = number | `${number}`;
type StepsItemProps = {
    icon?: ReactNode | string;
    stepNumber?: Numberish;
    iconType?: IconType;
    iconLibrary?: IconLibrary;
    title: string | ReactNode;
    children?: string | ReactNode;
    titleSize?: StepTitleSize;
    className?: string;
    isLast?: boolean;
    id?: string;
    noAnchor?: boolean;
    scrollElementIntoView?: (id: string) => void;
    onCopyAnchorLink?: (id: string | undefined) => void;
    onRegisterHeading?: (id: string, rect: Rect) => void;
    onUnregisterHeading?: (id: string) => void;
    _hasContext?: boolean;
};
type StepsProps = {
    children: React.ReactElement<StepsItemProps> | React.ReactElement<StepsItemProps>[];
    titleSize?: StepTitleSize;
    className?: string;
};
declare const Steps: {
    ({ children, titleSize, className }: StepsProps): import("react/jsx-runtime").JSX.Element;
    Item: ({ stepNumber, icon, iconType, iconLibrary, title, children, titleSize, className, isLast, id, noAnchor, scrollElementIntoView, onRegisterHeading, onUnregisterHeading, _hasContext, onCopyAnchorLink, }: StepsItemProps) => import("react/jsx-runtime").JSX.Element;
};
export { Steps };
export type { StepsItemProps, StepsProps };
//# sourceMappingURL=steps.d.ts.map