import type { InitParams, DiscoverReadersParams, DiscoverReadersResultType, EasyConnectParams, CancelDiscoveringResultType, DisconnectReaderResultType, RebootReaderResultType, CreatePaymentIntentParams, CollectSetupIntentPaymentMethodParams, PaymentIntentResultType, GetLocationsParams, GetLocationsResultType, Cart, CreateSetupIntentParams, ClearReaderDisplayResultType, SetupIntentResultType, Reader, RefundParams, ProcessRefundResultType, ConnectReaderResultType, CollectPaymentMethodParams, OfflineStatus, ICollectInputsParameters, ICollectInputsResults, PaymentStatus, ConnectionStatus, GetConnectedReaderType, ConfirmPaymentMethodParams, ProcessPaymentIntentParams, ConfirmSetupIntentMethodParams, ProcessSetupIntentParams, CancelSetupIntentMethodParams, CancelPaymentMethodParams, CollectDataParams, CollectDataResultType, TapToPayUxConfiguration, ConnectReaderParams, PrintContent } from './types'; import type { StripeError } from './types/StripeError'; import type { InternalStripeError } from './Errors/InternalStripeError'; export declare function initialize(params: { initParams: InitParams; useAppsOnDevicesConnectionTokenProvider: boolean; }): Promise<{ reader?: Reader.Type; error?: InternalStripeError; }>; export declare function setConnectionToken(token?: string, error?: string): Promise; export declare function discoverReaders(params: DiscoverReadersParams): Promise; export declare function easyConnect(params: EasyConnectParams): Promise; export declare function cancelEasyConnect(): Promise; export declare function cancelDiscovering(): Promise; export declare function connectReader(params: ConnectReaderParams): Promise; export declare function disconnectReader(): Promise; export declare function rebootReader(): Promise; export declare function createPaymentIntent(params: CreatePaymentIntentParams): Promise; export declare function createSetupIntent(params: CreateSetupIntentParams): Promise; export declare function collectPaymentMethod(params: CollectPaymentMethodParams): Promise; export declare function retrievePaymentIntent(clientSecret: string): Promise; export declare function getLocations(params: GetLocationsParams): Promise; export declare function confirmPaymentIntent(params: ConfirmPaymentMethodParams): Promise; export declare function processPaymentIntent(params: ProcessPaymentIntentParams): Promise; export declare function cancelPaymentIntent(params: CancelPaymentMethodParams): Promise; export declare function selectPaymentOption(paymentOptionType: string): Promise<{ error?: StripeError; }>; export declare function failPaymentMethodSelection(errorMessage?: string): Promise<{ error?: StripeError; }>; export declare function confirmQrCodeDisplayed(): Promise<{ error?: StripeError; }>; export declare function failQrCodeDisplay(errorMessage?: string): Promise<{ error?: StripeError; }>; export declare function installAvailableUpdate(): Promise<{ error?: StripeError; }>; export declare function setReaderDisplay(cart: Cart): Promise<{ error?: StripeError; }>; export declare function cancelInstallingUpdate(): Promise<{ error?: StripeError; }>; export declare function retrieveSetupIntent(clientSecret: string): Promise; export declare function collectSetupIntentPaymentMethod(params: CollectSetupIntentPaymentMethodParams): Promise; export declare function clearReaderDisplay(): Promise; export declare function cancelSetupIntent(params: CancelSetupIntentMethodParams): Promise; export declare function confirmSetupIntent(params: ConfirmSetupIntentMethodParams): Promise; export declare function processSetupIntent(params: ProcessSetupIntentParams): Promise; export declare function setSimulatedCard(cardNumber: string): Promise<{ error?: StripeError; }>; export declare function setSimulatedOfflineMode(simulatedOffline: boolean): Promise<{ error?: StripeError; }>; export declare function setSimulatedCollectInputsResult(simulatedCollectInputsBehavior: string): Promise<{ error?: StripeError; }>; export declare function processRefund(params: RefundParams): Promise; export declare function clearCachedCredentials(): Promise<{ error?: StripeError; }>; export declare function cancelCollectPaymentMethod(): Promise<{ error?: StripeError; }>; export declare function cancelProcessRefund(): Promise<{ error?: StripeError; }>; export declare function cancelCollectSetupIntent(): Promise<{ error?: StripeError; }>; export declare function cancelConfirmPaymentIntent(): Promise<{ error?: StripeError; }>; export declare function cancelProcessPaymentIntent(): Promise<{ error?: StripeError; }>; export declare function cancelConfirmSetupIntent(): Promise<{ error?: StripeError; }>; export declare function cancelProcessSetupIntent(): Promise<{ error?: StripeError; }>; export declare function getOfflineStatus(): Promise; export declare function getPaymentStatus(): Promise; export declare function getConnectionStatus(): Promise; /** Returns the connected reader or null; rejects unexpected failures with StripeError. */ export declare function getConnectedReader(): Promise; export declare function getReaderSettings(): Promise; export declare function setReaderSettings(params: Reader.ReaderSettingsParameters): Promise; export declare function collectInputs(params: ICollectInputsParameters): Promise; export declare function cancelCollectInputs(): Promise<{ error?: StripeError; }>; export declare function collectData(params: CollectDataParams): Promise; export declare function cancelCollectData(): Promise<{ error?: StripeError; }>; export declare function print(content: PrintContent): Promise<{ error?: StripeError; }>; export declare function cancelReaderReconnection(): Promise<{ error?: StripeError; }>; export declare function supportsReadersOfType(params: Reader.ReaderSupportParams): Promise; export declare function setTapToPayUxConfiguration(params: TapToPayUxConfiguration): Promise<{ error?: StripeError; }>; export declare function getNativeSdkVersion(): Promise;