import { CSSProperties, MouseEventHandler, ReactNode } from 'react'; import { PaymentDetailRow } from './PaymentDetailsCard'; /** * Pending-confirmation state: spinner + title/description + a row list (e.g. * amount/to address/status) + an optional action button + a footer note. Sits * alongside PaymentDisplay (the "here's what to pay" state) and PaymentSuccessCard * (the confirmed state) for the post-broadcast, waiting-for-network-confirmation * moment. No explorer link by default — a link to the tx would imply it's already * confirmed, which it isn't yet — but `actionLabel`/`actionHref`/`onActionClick` let a * consumer opt back into a button (e.g. "cancel and start over") when one makes sense. * * `rows` is passed straight through to PaymentDetailsCard's DetailItem, so the same * `href`/`tooltip`/`isCustom`/`labelIcon`/`valueIcon` escape hatches apply — e.g. a * colored "Pending confirmation" status value: { label: 'Status', value: Pending confirmation, isCustom: true } */ export interface PaymentPendingCardProps { title: ReactNode; description?: ReactNode; /** Detail rows, same shape as `DetailRows`. */ rows?: PaymentDetailRow[]; /** Label of the optional action button (needs `actionHref` or `onActionClick`). */ actionLabel?: string; /** Makes the action a link opening in a new tab. */ actionHref?: string; onActionClick?: MouseEventHandler; footerNote?: ReactNode; /** Slot at the top of the card, e.g. an expiry countdown pill. */ chip?: ReactNode; /** CSS max-width of the card, e.g. `600px`. */ maxWidth?: string; containerStyle?: CSSProperties; codeWrapperStyle?: CSSProperties; className?: string; codeWrapperClassName?: string; /** Extra content, rendered last inside the card. */ children?: ReactNode; } export declare const PaymentPendingCard: ({ title, description, rows, actionLabel, actionHref, onActionClick, footerNote, chip, maxWidth, containerStyle, codeWrapperStyle, className, codeWrapperClassName, children, }: PaymentPendingCardProps) => import("react/jsx-runtime").JSX.Element; export default PaymentPendingCard;