import React, { type ReactNode } from 'react'; import { type BoxProps } from '../Box/Box'; import type { ErrorNotification } from '../FunNotification/FunNotification'; import type { AnalyticsFlow } from '../../hooks/track/analytics/events'; import type { AnalyticsNamedStep } from '../../hooks/track/analytics/mappers'; interface ModalErrorStateProps { /** Icon rendered inside a 32×32 circular `offBackground` container. Defaults to a filled InfoIcon. */ icon?: ReactNode; /** Body content — plain text or a `` block with link interpolation. Defaults to `common.pleaseTryAgainLater`. */ children?: ReactNode; /** Minimum height for the centered content region. */ minHeight: number; /** Optional bottom padding on the outer container. */ paddingBottom?: BoxProps['paddingBottom']; paddingTop?: BoxProps['paddingTop']; /** Optional style for the container. */ style?: React.CSSProperties; flow: AnalyticsFlow; step: AnalyticsNamedStep; track: Omit | null; } /** * Centered icon + body message used inside modal steps when a content * region is empty or has errored — full-flow alternative to the smaller * `FunMessage` card. Vertically centers the icon and body within * `minHeight`. * */ export declare function ModalErrorState({ icon, children, flow, minHeight, paddingBottom, paddingTop, step, style, track, }: ModalErrorStateProps): React.JSX.Element; export {};