import { type SavedFormOfPayment, type SwappedFormOfPayment } from '@funkit/api-base'; /** * Preset quick-select deposit amounts — the embed's "amount pills". The key * names are the embed's contract, so they stay four discrete fields. */ export interface SwappedPillAmounts { pillAmount1: number; pillAmount2: number; pillAmount3: number; pillAmount4: number; } /** * Ref: https://www.notion.so/Fun-Parameter-Styling-Guide-312966ea6e398011bbc6c14e976e281d#63dcdd77ea2d488084a980cda4c63d08 * * The shape of the theme payload sent to the embedded Swapped flow. Kept here * because both the web theme builder (`packages/connect/src/utils/swapped.ts`) * and any future RN builder produce this exact shape. The pill amounts ride * along optionally — the embed's config arrives over this one message. */ export interface SwappedTheme extends Partial { colors: Record; radii: Record; headerHeight: string; headerFontWeight: string; buttonFontWeight: string; modalBottomBarButtonHeight: string; iframeBackground: string; paddingPrimary?: string; paddingPrimaryX?: string; paddingPrimaryY?: string; paddingSecondary: string; paddingTertiary: string; baseFont?: string; secondaryFont?: string; topbarIconColor?: string; topbarIconHoverColor?: string; headerIconWrapperSize?: string; headerIconSize?: string; topbarTextFontSize?: string; contentPadding?: string; boxPaddingY?: string; boxPaddingX?: string; paymentMethodLightLogos?: boolean; topbarPaddingX?: string; topbarPaddingY?: string; } export declare const SWAPPED_CARD_BRANDS: Record; export declare const isSavedFormOfPaymentType: (fop: SwappedFormOfPayment) => fop is SavedFormOfPayment; export declare const getSavedFormOfPaymentDisplayName: (fop: SavedFormOfPayment) => string; export declare const getFormOfPaymentDisplayName: (fop: SwappedFormOfPayment) => string; export declare const getSavedFormOfPaymentIcon: (fop: SavedFormOfPayment) => string | undefined; export declare const getSwappedIcon: (fop: SwappedFormOfPayment, isDarkMode: boolean) => string; export declare function getSwappedOrigin(url: string): string | null; export declare function isSwappedOrigin(origin: string): boolean; //# sourceMappingURL=swapped.d.ts.map