import type { fullThemeModeValue } from '../enums'; import type { SupportedCurrencies } from '../currency'; import type { SupportedCardBrands } from '../enums/cardBrands'; export interface SupportedCard { id: string; name: string; name_ar: string; image: string; payment_type: string; supported_card_brands: SupportedCardBrands[]; supported_currencies: SupportedCurrencies[]; order_by: number; cc_markup: number; asynchronous: boolean; threeDS: string; api_version: number; api_version_minor: number; logos: Record; payment_order_type: string; button_style: ButtonStyle; display_name: string; default_currency: string; } type ImageExtensions = Record<'svg' | 'png', string>; type ImageFormatObject = ImageExtensions & { disabled: ImageExtensions; currency_widget: ImageExtensions; card_icon: ImageExtensions; }; interface ButtonStyle { title_asset: string; background: Record; } interface Background { base_color: string; background_colors: string[]; } export {};