import type { ReactNode } from 'react'; import { SteppedListContent } from './SteppedListContent'; type SteppedListContainerProps = { /** * Title of the section, introduces the feature. */ header: ReactNode; /** * List of steps */ steps: (string | { title: string; icon: ReactNode; })[]; /** * Define here the content of each step */ children: ReactNode; /** * Function called when the component is closed. This function will overload the default behavior. */ onClickHide?: () => void; } & ({ /** * Show the toggle option */ showToggleOption: false; hideTooltipText?: never; hideText?: never; showText?: never; showTooltipText?: never; } | { /** * Show the toggle option */ showToggleOption?: true; /** * Text of the tooltip on the hide button */ hideTooltipText?: string; /** * Text of the "hide" button */ hideText?: string; /** * Text of the "show" button */ showText?: string; /** * Text of tooltip on the "show" button */ showTooltipText?: string; }); declare function SteppedListCard({ header, showToggleOption, hideTooltipText, hideText, showText, showTooltipText, children, steps, onClickHide, }: SteppedListContainerProps): import("react").JSX.Element; declare namespace SteppedListCard { var displayName: string; export { SteppedListContent as Step }; } export { SteppedListCard }; //# sourceMappingURL=index.d.ts.map