import { type Step } from '../Stepper/Stepper'; import { CriticalBannerProps } from '../Prompt'; import { CriticalBannerLegacyData } from './types'; export interface FlowNavigationProps { /** @default 0 */ activeStep?: number; avatar?: React.ReactNode; /** @default */ logo?: React.ReactNode; /** @default false */ done?: boolean; /** Called when the close button is clicked. If not provided the close button won't show */ onClose?: (() => void) | React.MouseEventHandler; /** Called when the back button is clicked. If not provided the back button won't show. The back button only shows on small screens */ onGoBack?: () => void; /** Steps to be displayed in stepper. If not provided, the stepper won't show. */ steps?: readonly Step[]; /** * Optional critical banner data, to be displayed above the flow navigation. * Accepts either the internal `CriticalBannerProps` shape, or the legacy backend `CriticalBannerData` shape — the latter is mapped to `CriticalBannerProps` internally. */ banner?: CriticalBannerLegacyData | CriticalBannerProps | null; /** * Controls whether the bottom border is displayed. * @default true */ showBottomBorder?: boolean; } declare const FlowNavigation: ({ activeStep, avatar, logo, done, onClose, onGoBack, steps, banner, showBottomBorder, }: FlowNavigationProps) => import("react").JSX.Element; export default FlowNavigation; //# sourceMappingURL=FlowNavigation.d.ts.map