import { default as React, CSSProperties, ReactNode } from 'react'; export declare const CurrencyLogo: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged, HTMLDivElement>, "style"> & { style?: React.CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars; }, { color?: string; }>> & string; export declare const DetailsSection: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged, HTMLDivElement>, "style"> & { style?: React.CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars; }, { noMargin?: boolean; }>> & string; /** One label/value row. Also the row shape accepted by `DetailRows`, `DetailsToggle` and `PaymentDetailsCard`. */ export interface PaymentDetailRow { label?: ReactNode; /** Rendered as text, or as JSX when `isCustom` is set. */ value?: ReactNode; /** Adds an info icon with this tooltip next to the label. */ tooltip?: ReactNode; /** Shown (muted) when `value` is empty. */ placeholder?: ReactNode; /** Render `value` as-is instead of as plain text. */ isCustom?: boolean; /** Turns the value into an external link (unsafe URLs are ignored). */ href?: string; /** Link target; defaults to `_blank`. */ target?: string; labelIcon?: ReactNode; valueIcon?: ReactNode; /** React key; falls back to the row index. */ key?: string | number; } export type DetailItemProps = Omit; export declare const DetailItem: ({ label, value, tooltip, placeholder, isCustom, href, target, labelIcon, valueIcon, }: DetailItemProps) => import("react/jsx-runtime").JSX.Element; /** One amount block: icon, value and optional currency ticker. */ export interface PaymentAmountConfig { label?: ReactNode; subtitle?: ReactNode; amount?: number | string | null; /** Currency id (e.g. `btc-fb`, `euro`) or a project token symbol. */ currency?: string; /** Only used for project tokens that are not in the currency config. */ decimals?: number; currencyColor?: string; /** Custom icon URL; wins over the currency's own icon. */ icon?: string; showTicker?: boolean; banner?: ReactNode; } /** A titled group of detail rows. */ export interface PaymentDetailGroup { sectionTitle?: ReactNode; items: PaymentDetailRow[]; key?: string | number; } /** * PaymentDetailsCard - Fully customizable details card * * @param {string} title - Optional card title (displayed in header bar) * @param {object|node} amountSection - Single amount config or custom node (backward compat) * - If object: { label, subtitle, amount, currency, decimals, currencyColor, icon, showTicker, banner } * - If node: renders custom component * @param {array} amountSections - Array of amount configs for multiple amount blocks * - Each: { label, subtitle, amount, currency, decimals, currencyColor, icon, showTicker, banner } * - `decimals` is only used for project tokens not in the currency config; known * currencies always use their configured decimals. * @param {array} details - Flat array of detail items (backward compat) * - { label, value, tooltip, placeholder, isCustom, href, target, labelIcon, valueIcon } * @param {array} detailGroups - Array of grouped detail sections with optional headers * - { sectionTitle, items: [{ label, value, tooltip, placeholder, isCustom, href, target, labelIcon, valueIcon }] } * @param {node} infoSection - Optional custom node for bottom info section * @param {boolean} showSeparators - Whether to show separators between sections * @param {boolean} showArrowSeparator - Show a down-arrow separator between amount sections * @param {object} containerStyle - Optional inline style for the container */ export interface PaymentDetailsCardProps { /** Card title, shown in the header bar. */ title?: ReactNode; /** A single amount config, or a custom node. */ amountSection?: PaymentAmountConfig | ReactNode; /** Several amount blocks. Wins over `amountSection`. */ amountSections?: (PaymentAmountConfig | ReactNode)[]; /** Flat list of detail rows. */ details?: PaymentDetailRow[]; /** Grouped detail rows with optional headers. Wins over `details`. */ detailGroups?: PaymentDetailGroup[]; /** Custom node for the bottom info section. */ infoSection?: ReactNode; /** Separators between the sections. */ showSeparators?: boolean; /** A down arrow between amount sections instead of a plain line. */ showArrowSeparator?: boolean; containerStyle?: CSSProperties; } export declare const PaymentDetailsCard: ({ title, amountSection, amountSections, details, detailGroups, infoSection, showSeparators, showArrowSeparator, containerStyle, }: PaymentDetailsCardProps) => import("react/jsx-runtime").JSX.Element; export default PaymentDetailsCard;