import type { PrimerSettings } from './models/PrimerSettings'; import type { PrimerImplementedRNCallbacks } from './models/PrimerImplementedRNCallbacks'; type EventType = 'onCheckoutComplete' | 'onBeforeClientSessionUpdate' | 'onClientSessionUpdate' | 'onBeforePaymentCreate' | 'onError' | 'onDismiss' | 'onTokenizeSuccess' | 'onResumeSuccess' | 'onResumePending' | 'onCheckoutReceivedAdditionalInfo' | 'detectImplementedRNCallbacks'; export interface IPrimerError { errorId: string; errorDescription?: string; recoverySuggestion?: string; } declare const RNPrimer: { addListener(eventType: EventType, listener: (data: any) => void): void; removeAllListeners(): void; configure: (settings: PrimerSettings | undefined) => Promise; showUniversalCheckout: (clientToken: string) => Promise; showVaultManager: (clientToken: string) => Promise; showPaymentMethod: (paymentMethod: string, intent: string, clientToken: string) => Promise; dismiss: () => Promise; cleanUp: () => Promise; handleTokenizationNewClientToken: (newClientToken: string) => Promise; handleTokenizationSuccess: () => Promise; handleTokenizationFailure: (errorMessage: string | null) => Promise; handleResumeWithNewClientToken: (newClientToken: string) => Promise; handleResumeSuccess: () => Promise; handleResumeFailure: (errorMessage: string | null) => Promise; handlePaymentCreationAbort: (errorMessage: string | null) => Promise; handlePaymentCreationContinue: () => Promise; showErrorMessage: (errorMessage: string | null) => Promise; setImplementedRNCallbacks: (implementedRNCallbacks: PrimerImplementedRNCallbacks) => Promise; }; export default RNPrimer; //# sourceMappingURL=RNPrimer.d.ts.map