import { WebPlugin } from '@capacitor/core'; import { AccountParams, ApplePayOptions, AvailabilityResponse, BankAccountTokenRequest, BankAccountTokenResponse, CardBrandResponse, CardTokenRequest, CardTokenResponse, ConfirmPaymentIntentOptions, ConfirmPaymentIntentResponse, ConfirmSetupIntentOptions, ConfirmSetupIntentResponse, CreatePiiTokenOptions, CreateSourceTokenOptions, CustomerPaymentMethodsResponse, FinalizeApplePayTransactionOptions, GooglePayOptions, IdentifyCardBrandOptions, PresentPaymentOptionsResponse, SetPublishableKeyOptions, StripePlugin, TokenResponse, ValidateCardNumberOptions, ValidateCVCOptions, ValidateExpiryDateOptions, ValidityResponse } from './definitions'; export declare class StripeWeb extends WebPlugin implements StripePlugin { private publishableKey; private stripe; constructor(); setPublishableKey(opts: SetPublishableKeyOptions): Promise; createCardToken(card: CardTokenRequest): Promise; createBankAccountToken(bankAccount: BankAccountTokenRequest): Promise; confirmPaymentIntent(opts: ConfirmPaymentIntentOptions): Promise; confirmSetupIntent(opts: ConfirmSetupIntentOptions): Promise; payWithApplePay(_options: { applePayOptions: ApplePayOptions; }): Promise; cancelApplePay(): Promise; finalizeApplePayTransaction(_opts: FinalizeApplePayTransactionOptions): Promise; payWithGooglePay(_opts: { googlePayOptions: GooglePayOptions; }): Promise; createSourceToken(_opts: CreateSourceTokenOptions): Promise; createPiiToken(opts: CreatePiiTokenOptions): Promise; createAccountToken(account: AccountParams): Promise; customizePaymentAuthUI(_opts: any): Promise; presentPaymentOptions(): Promise; isApplePayAvailable(): Promise; isGooglePayAvailable(): Promise; validateCardNumber(opts: ValidateCardNumberOptions): Promise; validateExpiryDate(opts: ValidateExpiryDateOptions): Promise; validateCVC(opts: ValidateCVCOptions): Promise; identifyCardBrand(_opts: IdentifyCardBrandOptions): Promise; addCustomerSource(opts: { sourceId: string; type?: string; }): Promise; customerPaymentMethods(): Promise; deleteCustomerSource(_opts: { sourceId: string; }): Promise; private cs; initCustomerSession(opts: any | { id: string; object: 'ephemeral_key'; associated_objects: Array<{ type: 'customer'; id: string; }>; created: number; expires: number; livemode: boolean; secret: string; }): Promise; setCustomerDefaultSource(opts: { sourceId: string; type?: string; }): Promise; }