import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import { CoinflowEnvs, MerchantTheme } from './common'; interface CardFormBaseProps { merchantId: string; env?: CoinflowEnvs; theme?: MerchantTheme; onLoad?: () => void; style?: StyleProp; } export interface CoinflowCardFormProps extends CardFormBaseProps { } export interface CoinflowCardNumberFormProps extends CardFormBaseProps { } export interface CoinflowCvvFormProps extends CardFormBaseProps { token: string; } export interface CardFormTokenResponse { token: string; expMonth?: string; expYear?: string; /** Forter device token captured in the card-form WebView; forward it as the `x-forter-token` header on your charge request so Forter can score the transaction. Absent if the Forter SDK has not loaded. */ forterToken?: string; } export interface CardFormNativeRef { tokenize(): Promise; } export declare const CoinflowCardForm: React.ForwardRefExoticComponent>; export declare const CoinflowCardNumberForm: React.ForwardRefExoticComponent>; export declare const CoinflowCvvForm: React.ForwardRefExoticComponent>; /** @deprecated Use CoinflowCardForm instead */ export declare const CoinflowCardFormV2: React.ForwardRefExoticComponent>; /** @deprecated Use CoinflowCardNumberForm instead */ export declare const CoinflowCardNumberFormV2: React.ForwardRefExoticComponent>; /** @deprecated Use CoinflowCvvForm instead */ export declare const CoinflowCvvFormV2: React.ForwardRefExoticComponent>; /** @deprecated Use CoinflowCardFormProps instead */ export type CoinflowCardFormV2Props = CoinflowCardFormProps; /** @deprecated Use CoinflowCardNumberFormProps instead */ export type CoinflowCardNumberFormV2Props = CoinflowCardNumberFormProps; /** @deprecated Use CoinflowCvvFormProps instead */ export type CoinflowCvvFormV2Props = CoinflowCvvFormProps; /** @deprecated Use CardFormTokenResponse instead */ export type CardFormV2TokenResponse = CardFormTokenResponse; /** @deprecated Use CardFormNativeRef instead */ export type CardFormV2NativeRef = CardFormNativeRef; export {};