// This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate. // Trust me, you don't want to mess with it! import { type StructuralEquality as UniffiStructuralEquality, type UniffiForeignFuture as RuntimeUniffiForeignFuture, type UniffiRustCallStatus, type UniffiRustArcPtr, type UniffiRustFutureContinuationCallback as RuntimeUniffiRustFutureContinuationCallback, type UniffiResult, } from 'uniffi-bindgen-react-native'; interface NativeModuleInterface { ubrn_uniffi_internal_fn_func_ffi__string_to_byte_length( string: string, uniffi_out_err: UniffiRustCallStatus ): number; ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer( string: string, uniffi_out_err: UniffiRustCallStatus ): Uint8Array; ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string( buffer: Uint8Array, uniffi_out_err: UniffiRustCallStatus ): string; ubrn_uniffi_breez_sdk_spark_fn_clone_bitcoinchainservice( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_bitcoinchainservice( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_bitcoinchainservice( vtable: UniffiVTableCallbackInterfaceBitcoinChainService ): void; ubrn_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_address_utxos( ptr: bigint, address: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_address_txos( ptr: bigint, address: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_transaction_status( ptr: bigint, txid: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_tip_height( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_transaction_hex( ptr: bigint, txid: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_outspend( ptr: bigint, txid: Uint8Array, vout: number ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_broadcast_transaction( ptr: bigint, tx: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_recommended_fees( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_breezsdk( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_breezsdk( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_add_contact( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_add_event_listener( ptr: bigint, listener: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_authorize_lightning_address_transfer( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_build_unsigned_batch_package( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_build_unsigned_lnurl_pay_package( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_build_unsigned_transfer_package( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_buy_bitcoin( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_check_lightning_address_available( ptr: bigint, req: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_check_message( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_check_unilateral_exit( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_claim_deposit( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_claim_htlc_payment( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_claim_lightning_address_transfer( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_delete_contact( ptr: bigint, id: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_delete_lightning_address( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_disconnect( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_export_unilateral_exit_state( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_fetch_claim_deposit_quote( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_fetch_conversion_limits( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_cross_chain_routes( ptr: bigint, filter: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_info( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_lightning_address( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_payment( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_token_issuer( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_tokens_metadata( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_user_settings( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_import_unilateral_exit_state( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_list_contacts( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_list_fiat_currencies( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_list_fiat_rates( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_list_payments( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_list_unclaimed_deposits( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_list_webhooks( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_auth( ptr: bigint, requestData: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_pay( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_withdraw( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_optimize_leaves( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_parse( ptr: bigint, input: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_lnurl_pay( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_payment_link( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_batch( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_payment( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_unilateral_exit( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_publish_signed_lnurl_pay_package( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_publish_signed_transfer_package( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_receive_payment( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_recommended_fees( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_refund_deposit( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_refund_pending_conversions( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_register_lightning_address( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_register_webhook( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_remove_event_listener( ptr: bigint, id: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_send_batch( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_send_payment( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_sign_message( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_sync_wallet( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_unilateral_exit( ptr: bigint, request: Uint8Array, signer: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_unregister_webhook( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_update_contact( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_update_user_settings( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_cpfpsigner( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_cpfpsigner( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_cpfpsigner( vtable: UniffiVTableCallbackInterfaceCpfpSigner ): void; ubrn_uniffi_breez_sdk_spark_fn_method_cpfpsigner_sign_psbt( ptr: bigint, psbtBytes: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_externalbreezsigner( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_externalbreezsigner( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalbreezsigner( vtable: UniffiVTableCallbackInterfaceExternalBreezSigner ): void; ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_derive_public_key( ptr: bigint, path: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_sign_ecdsa( ptr: bigint, message: Uint8Array, path: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_sign_ecdsa_recoverable( ptr: bigint, message: Uint8Array, path: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_encrypt_ecies( ptr: bigint, message: Uint8Array, path: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_decrypt_ecies( ptr: bigint, message: Uint8Array, path: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_sign_hash_schnorr( ptr: bigint, hash: Uint8Array, path: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_hmac_sha256( ptr: bigint, message: Uint8Array, path: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_externalsigningsigner( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_externalsigningsigner( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsigningsigner( vtable: UniffiVTableCallbackInterfaceExternalSigningSigner ): void; ubrn_uniffi_breez_sdk_spark_fn_method_externalsigningsigner_derive_public_key( ptr: bigint, path: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsigningsigner_sign_ecdsa( ptr: bigint, message: Uint8Array, path: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsigningsigner_sign_ecdsa_recoverable( ptr: bigint, message: Uint8Array, path: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsigningsigner_sign_hash_schnorr( ptr: bigint, hash: Uint8Array, path: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_externalsparksigner( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_externalsparksigner( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsparksigner( vtable: UniffiVTableCallbackInterfaceExternalSparkSigner ): void; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_identity_public_key( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_public_key_for_leaf( ptr: bigint, leafId: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_is_remote( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): number; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_static_deposit_public_key( ptr: bigint, index: number ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_authentication_challenge( ptr: bigint, challenge: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_message( ptr: bigint, message: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_leaf_refund_spend( ptr: bigint, leafId: Uint8Array, sighash: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_frost( ptr: bigint, jobs: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_transfer( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_claim( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_lightning_receive( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_static_deposit( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_start_static_deposit_refund( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_static_deposit_refund( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_spark_invoice( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_token_transaction( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_static_deposit_claim( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_fiatservice( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_fiatservice( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_fiatservice( vtable: UniffiVTableCallbackInterfaceFiatService ): void; ubrn_uniffi_breez_sdk_spark_fn_method_fiatservice_fetch_fiat_currencies( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_fiatservice_fetch_fiat_rates( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_passkeyclient( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_passkeyclient( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_constructor_passkeyclient_new( prfProvider: bigint, breezApiKey: Uint8Array, config: Uint8Array, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_check_availability( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_connect_with_passkey( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_labels( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_register( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_sign_in( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_passkeylabels( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_passkeylabels( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_method_passkeylabels_list(ptr: bigint): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_passkeylabels_store( ptr: bigint, label: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_paymentobserver( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_paymentobserver( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_paymentobserver( vtable: UniffiVTableCallbackInterfacePaymentObserver ): void; ubrn_uniffi_breez_sdk_spark_fn_method_paymentobserver_before_send( ptr: bigint, payments: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_paymentobserver_after_send( ptr: bigint, updates: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_prfprovider( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_prfprovider( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_prfprovider( vtable: UniffiVTableCallbackInterfacePrfProvider ): void; ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_derive_seeds( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_is_supported( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_create_passkey( ptr: bigint, excludeCredentials: Uint8Array, salts: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_check_domain_association( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_resolvedstores( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_resolvedstores( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_clone_restclient( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_restclient( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_restclient( vtable: UniffiVTableCallbackInterfaceRestClient ): void; ubrn_uniffi_breez_sdk_spark_fn_method_restclient_get_request( ptr: bigint, url: Uint8Array, headers: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_restclient_post_request( ptr: bigint, url: Uint8Array, headers: Uint8Array, body: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_restclient_delete_request( ptr: bigint, url: Uint8Array, headers: Uint8Array, body: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_sdkbuilder( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_sdkbuilder( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_constructor_sdkbuilder_new( config: Uint8Array, seed: Uint8Array, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_constructor_sdkbuilder_new_with_signer( config: Uint8Array, breezSigner: bigint, sparkSigner: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_constructor_sdkbuilder_new_with_signing_only_signer( config: Uint8Array, breezSigner: bigint, sparkSigner: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_build(ptr: bigint): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_account_number( ptr: bigint, accountNumber: number ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_chain_service( ptr: bigint, chainService: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_default_storage( ptr: bigint, storageDir: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_fiat_service( ptr: bigint, fiatService: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_lnurl_client( ptr: bigint, lnurlClient: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_payment_observer( ptr: bigint, paymentObserver: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_rest_chain_service( ptr: bigint, url: Uint8Array, apiType: Uint8Array, credentials: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_session_store( ptr: bigint, sessionStore: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_shared_context( ptr: bigint, context: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_storage( ptr: bigint, storage: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_storage_backend( ptr: bigint, storage: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_sdkcontext( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_sdkcontext( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_clone_sessionstore( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_sessionstore( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_sessionstore( vtable: UniffiVTableCallbackInterfaceSessionStore ): void; ubrn_uniffi_breez_sdk_spark_fn_method_sessionstore_get_session( ptr: bigint, serviceIdentityKey: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_sessionstore_set_session( ptr: bigint, serviceIdentityKey: Uint8Array, session: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_storage( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_storage( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage( vtable: UniffiVTableCallbackInterfaceStorage ): void; ubrn_uniffi_breez_sdk_spark_fn_method_storage_delete_cached_item( ptr: bigint, key: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_cached_item( ptr: bigint, key: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_set_cached_item( ptr: bigint, key: Uint8Array, value: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_list_payments( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_apply_payment_update( ptr: bigint, payment: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_insert_payment_metadata( ptr: bigint, paymentId: Uint8Array, metadata: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_payment_by_id( ptr: bigint, id: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_payment_by_invoice( ptr: bigint, invoice: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_payments_by_parent_ids( ptr: bigint, parentPaymentIds: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_add_deposit( ptr: bigint, txid: Uint8Array, vout: number, amountSats: bigint, isMature: number ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_delete_deposit( ptr: bigint, txid: Uint8Array, vout: number ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_list_deposits( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_update_deposit( ptr: bigint, txid: Uint8Array, vout: number, payload: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_set_lnurl_metadata( ptr: bigint, metadata: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_list_contacts( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_contact( ptr: bigint, id: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_insert_contact( ptr: bigint, contact: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_delete_contact( ptr: bigint, id: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_set_cross_chain_swap( ptr: bigint, swap: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_cross_chain_swap( ptr: bigint, provider: Uint8Array, id: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_list_active_cross_chain_swaps( ptr: bigint, provider: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_add_outgoing_change( ptr: bigint, record: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_complete_outgoing_sync( ptr: bigint, record: Uint8Array, localRevision: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_pending_outgoing_changes( ptr: bigint, limit: number ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_last_revision( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_insert_incoming_records( ptr: bigint, records: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_delete_incoming_record( ptr: bigint, record: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_incoming_records( ptr: bigint, limit: number ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_latest_outgoing_change( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_storage_update_record_from_incoming( ptr: bigint, record: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_storagebackend( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_storagebackend( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_method_storagebackend_create_stores( ptr: bigint, network: Uint8Array, identity: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_clone_tokenissuer( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_free_tokenissuer( ptr: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_method_tokenissuer_burn_issuer_token( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_tokenissuer_create_issuer_token( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_tokenissuer_freeze_issuer_token( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_tokenissuer_get_issuer_token_balance( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_tokenissuer_get_issuer_token_metadata( ptr: bigint ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_tokenissuer_mint_issuer_token( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_method_tokenissuer_unfreeze_issuer_token( ptr: bigint, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_eventlistener( vtable: UniffiVTableCallbackInterfaceEventListener ): void; ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_logger( vtable: UniffiVTableCallbackInterfaceLogger ): void; ubrn_uniffi_breez_sdk_spark_fn_func_connect(request: Uint8Array): bigint; ubrn_uniffi_breez_sdk_spark_fn_func_connect_with_signer( request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_func_connect_with_signing_only_signer( request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_func_create_turnkey_signer( config: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_func_create_turnkey_signing_only_signer( config: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_func_custom_storage( storage: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_func_default_config( network: Uint8Array, uniffi_out_err: UniffiRustCallStatus ): Uint8Array; ubrn_uniffi_breez_sdk_spark_fn_func_default_external_signers( mnemonic: Uint8Array, passphrase: Uint8Array, network: Uint8Array, accountNumber: Uint8Array, uniffi_out_err: UniffiRustCallStatus ): Uint8Array; ubrn_uniffi_breez_sdk_spark_fn_func_default_server_config( network: Uint8Array, uniffi_out_err: UniffiRustCallStatus ): Uint8Array; ubrn_uniffi_breez_sdk_spark_fn_func_default_session_store( backend: bigint, network: Uint8Array, identity: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_func_default_storage( storageDir: Uint8Array, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_uniffi_breez_sdk_spark_fn_func_get_spark_status( request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_func_init_logging( logDir: Uint8Array, appLogger: Uint8Array, logFilter: Uint8Array, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_fn_func_new_rest_chain_service( url: Uint8Array, network: Uint8Array, apiType: Uint8Array, credentials: Uint8Array, request: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_func_new_shared_sdk_context( config: Uint8Array ): bigint; ubrn_uniffi_breez_sdk_spark_fn_func_single_key_cpfp_signer( secretKeyBytes: Uint8Array, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_ffi_breez_sdk_spark_rust_future_poll_u8( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_u8(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_u8(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_u8( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): number; ubrn_ffi_breez_sdk_spark_rust_future_poll_i8( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_i8(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_i8(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_i8( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): number; ubrn_ffi_breez_sdk_spark_rust_future_poll_u16( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_u16(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_u16(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_u16( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): number; ubrn_ffi_breez_sdk_spark_rust_future_poll_i16( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_i16(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_i16(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_i16( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): number; ubrn_ffi_breez_sdk_spark_rust_future_poll_u32( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_u32(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_u32(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_u32( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): number; ubrn_ffi_breez_sdk_spark_rust_future_poll_i32( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_i32(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_i32(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_i32( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): number; ubrn_ffi_breez_sdk_spark_rust_future_poll_u64( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_u64(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_u64(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_u64( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_ffi_breez_sdk_spark_rust_future_poll_i64( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_i64(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_i64(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_i64( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_ffi_breez_sdk_spark_rust_future_poll_f32( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_f32(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_f32(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_f32( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): number; ubrn_ffi_breez_sdk_spark_rust_future_poll_f64( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_f64(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_f64(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_f64( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): number; ubrn_ffi_breez_sdk_spark_rust_future_poll_pointer( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_pointer(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_pointer(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_pointer( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): bigint; ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): Uint8Array; ubrn_ffi_breez_sdk_spark_rust_future_poll_void( handle: bigint, callback: UniffiRustFutureContinuationCallback, callbackData: bigint ): void; ubrn_ffi_breez_sdk_spark_rust_future_cancel_void(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_free_void(handle: bigint): void; ubrn_ffi_breez_sdk_spark_rust_future_complete_void( handle: bigint, uniffi_out_err: UniffiRustCallStatus ): void; ubrn_uniffi_breez_sdk_spark_checksum_func_connect(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signing_only_signer(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signer(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signing_only_signer(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_custom_storage(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_default_config(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signers(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_default_server_config(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_default_session_store(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_default_storage(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_new_shared_sdk_context(): number; ubrn_uniffi_breez_sdk_spark_checksum_func_single_key_cpfp_signer(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_txos(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_tip_height(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_outspend(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_authorize_lightning_address_transfer(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_batch_package(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_lnurl_pay_package(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_transfer_package(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_unilateral_exit(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_lightning_address_transfer(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_export_unilateral_exit_state(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_claim_deposit_quote(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_cross_chain_routes(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_import_unilateral_exit_state(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_webhooks(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_optimize_leaves(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_parse(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_payment_link(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_batch(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_unilateral_exit(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_lnurl_pay_package(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_transfer_package(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_pending_conversions(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_webhook(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_batch(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_unilateral_exit(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_cpfpsigner_sign_psbt(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_derive_public_key(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa_recoverable(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_encrypt_ecies(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_decrypt_ecies(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_hash_schnorr(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_hmac_sha256(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_derive_public_key(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa_recoverable(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_hash_schnorr(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_identity_public_key(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_public_key_for_leaf(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_is_remote(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_static_deposit_public_key(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_authentication_challenge(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_message(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_leaf_refund_spend(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_transfer(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_claim(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_lightning_receive(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_start_static_deposit_refund(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_static_deposit_refund(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_spark_invoice(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_token_transaction(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit_claim(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_check_availability(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_connect_with_passkey(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_labels(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_register(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_sign_in(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_list(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_store(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_after_send(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_derive_seeds(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_is_supported(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_create_passkey(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_check_domain_association(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_get_request(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_post_request(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_account_number(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_session_store(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage_backend(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_get_session(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_set_session(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_payments(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_apply_payment_update(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_deposits(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_deposit(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_contacts(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_contact(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_contact(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_contact(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cross_chain_swap(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cross_chain_swap(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_active_cross_chain_swaps(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_storagebackend_create_stores(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token(): number; ubrn_uniffi_breez_sdk_spark_checksum_constructor_passkeyclient_new(): number; ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new(): number; ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signer(): number; ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signing_only_signer(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event(): number; ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log(): number; ubrn_ffi_breez_sdk_spark_uniffi_contract_version(): number; ubrn_uniffi_internal_fn_method_bitcoinchainservice_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_breezsdk_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_cpfpsigner_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_externalbreezsigner_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_externalsigningsigner_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_externalsparksigner_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_fiatservice_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_passkeyclient_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_passkeylabels_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_paymentobserver_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_prfprovider_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_resolvedstores_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_restclient_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_sdkbuilder_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_sdkcontext_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_sessionstore_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_storage_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_storagebackend_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; ubrn_uniffi_internal_fn_method_tokenissuer_ffi__bless_pointer( pointer: bigint, uniffi_out_err: UniffiRustCallStatus ): UniffiRustArcPtr; } // Casting globalThis to any allows us to look for `NativeBreezSdkSpark` // if it was added via JSI. // // We use a getter here rather than simply `globalThis.NativeBreezSdkSpark` so that // if/when the startup sequence isn't just so, an empty value isn't inadvertantly cached. const getter: () => NativeModuleInterface = () => (globalThis as any).NativeBreezSdkSpark; export default getter; // Structs and function types for calling back into Typescript from Rust. export type UniffiRustFutureContinuationCallback = ( data: bigint, pollResult: number ) => void; type UniffiForeignFutureFree = (handle: bigint) => void; type UniffiCallbackInterfaceFree = (handle: bigint) => void; export type UniffiForeignFuture = { handle: bigint; free: UniffiForeignFutureFree; }; export type UniffiForeignFutureStructU8 = { returnValue: number; callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompleteU8 = ( callbackData: bigint, result: UniffiForeignFutureStructU8 ) => void; export type UniffiForeignFutureStructI8 = { returnValue: number; callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompleteI8 = ( callbackData: bigint, result: UniffiForeignFutureStructI8 ) => void; export type UniffiForeignFutureStructU16 = { returnValue: number; callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompleteU16 = ( callbackData: bigint, result: UniffiForeignFutureStructU16 ) => void; export type UniffiForeignFutureStructI16 = { returnValue: number; callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompleteI16 = ( callbackData: bigint, result: UniffiForeignFutureStructI16 ) => void; export type UniffiForeignFutureStructU32 = { returnValue: number; callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompleteU32 = ( callbackData: bigint, result: UniffiForeignFutureStructU32 ) => void; export type UniffiForeignFutureStructI32 = { returnValue: number; callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompleteI32 = ( callbackData: bigint, result: UniffiForeignFutureStructI32 ) => void; export type UniffiForeignFutureStructU64 = { returnValue: bigint; callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompleteU64 = ( callbackData: bigint, result: UniffiForeignFutureStructU64 ) => void; export type UniffiForeignFutureStructI64 = { returnValue: bigint; callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompleteI64 = ( callbackData: bigint, result: UniffiForeignFutureStructI64 ) => void; export type UniffiForeignFutureStructF32 = { returnValue: number; callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompleteF32 = ( callbackData: bigint, result: UniffiForeignFutureStructF32 ) => void; export type UniffiForeignFutureStructF64 = { returnValue: number; callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompleteF64 = ( callbackData: bigint, result: UniffiForeignFutureStructF64 ) => void; export type UniffiForeignFutureStructPointer = { returnValue: bigint; callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompletePointer = ( callbackData: bigint, result: UniffiForeignFutureStructPointer ) => void; export type UniffiForeignFutureStructRustBuffer = { returnValue: Uint8Array; callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompleteRustBuffer = ( callbackData: bigint, result: UniffiForeignFutureStructRustBuffer ) => void; export type UniffiForeignFutureStructVoid = { callStatus: UniffiRustCallStatus; }; export type UniffiForeignFutureCompleteVoid = ( callbackData: bigint, result: UniffiForeignFutureStructVoid ) => void; type UniffiCallbackInterfaceEventListenerMethod0 = ( uniffiHandle: bigint, event: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceLoggerMethod0 = ( uniffiHandle: bigint, l: Uint8Array ) => UniffiResult; type UniffiCallbackInterfaceBitcoinChainServiceMethod0 = ( uniffiHandle: bigint, address: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceBitcoinChainServiceMethod1 = ( uniffiHandle: bigint, address: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceBitcoinChainServiceMethod2 = ( uniffiHandle: bigint, txid: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceBitcoinChainServiceMethod3 = ( uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteU32, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceBitcoinChainServiceMethod4 = ( uniffiHandle: bigint, txid: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceBitcoinChainServiceMethod5 = ( uniffiHandle: bigint, txid: Uint8Array, vout: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceBitcoinChainServiceMethod6 = ( uniffiHandle: bigint, tx: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceBitcoinChainServiceMethod7 = ( uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceCpfpSignerMethod0 = ( uniffiHandle: bigint, psbtBytes: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalBreezSignerMethod0 = ( uniffiHandle: bigint, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalBreezSignerMethod1 = ( uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalBreezSignerMethod2 = ( uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalBreezSignerMethod3 = ( uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalBreezSignerMethod4 = ( uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalBreezSignerMethod5 = ( uniffiHandle: bigint, hash: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalBreezSignerMethod6 = ( uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSigningSignerMethod0 = ( uniffiHandle: bigint, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSigningSignerMethod1 = ( uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSigningSignerMethod2 = ( uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSigningSignerMethod3 = ( uniffiHandle: bigint, hash: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod0 = ( uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod1 = ( uniffiHandle: bigint, leafId: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod2 = ( uniffiHandle: bigint ) => UniffiResult; type UniffiCallbackInterfaceExternalSparkSignerMethod3 = ( uniffiHandle: bigint, index: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod4 = ( uniffiHandle: bigint, challenge: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod5 = ( uniffiHandle: bigint, message: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod6 = ( uniffiHandle: bigint, leafId: Uint8Array, sighash: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod7 = ( uniffiHandle: bigint, jobs: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod8 = ( uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod9 = ( uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod10 = ( uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod11 = ( uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod12 = ( uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod13 = ( uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod14 = ( uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod15 = ( uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceExternalSparkSignerMethod16 = ( uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceFiatServiceMethod0 = ( uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceFiatServiceMethod1 = ( uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfacePaymentObserverMethod0 = ( uniffiHandle: bigint, payments: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfacePaymentObserverMethod1 = ( uniffiHandle: bigint, updates: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfacePrfProviderMethod0 = ( uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfacePrfProviderMethod1 = ( uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteI8, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfacePrfProviderMethod2 = ( uniffiHandle: bigint, excludeCredentials: Uint8Array, salts: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfacePrfProviderMethod3 = ( uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceRestClientMethod0 = ( uniffiHandle: bigint, url: Uint8Array, headers: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceRestClientMethod1 = ( uniffiHandle: bigint, url: Uint8Array, headers: Uint8Array, body: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceRestClientMethod2 = ( uniffiHandle: bigint, url: Uint8Array, headers: Uint8Array, body: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceSessionStoreMethod0 = ( uniffiHandle: bigint, serviceIdentityKey: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceSessionStoreMethod1 = ( uniffiHandle: bigint, serviceIdentityKey: Uint8Array, session: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod0 = ( uniffiHandle: bigint, key: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod1 = ( uniffiHandle: bigint, key: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod2 = ( uniffiHandle: bigint, key: Uint8Array, value: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod3 = ( uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod4 = ( uniffiHandle: bigint, payment: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteI8, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod5 = ( uniffiHandle: bigint, paymentId: Uint8Array, metadata: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod6 = ( uniffiHandle: bigint, id: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod7 = ( uniffiHandle: bigint, invoice: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod8 = ( uniffiHandle: bigint, parentPaymentIds: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod9 = ( uniffiHandle: bigint, txid: Uint8Array, vout: number, amountSats: bigint, isMature: number, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod10 = ( uniffiHandle: bigint, txid: Uint8Array, vout: number, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod11 = ( uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod12 = ( uniffiHandle: bigint, txid: Uint8Array, vout: number, payload: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod13 = ( uniffiHandle: bigint, metadata: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod14 = ( uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod15 = ( uniffiHandle: bigint, id: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod16 = ( uniffiHandle: bigint, contact: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod17 = ( uniffiHandle: bigint, id: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod18 = ( uniffiHandle: bigint, swap: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod19 = ( uniffiHandle: bigint, provider: Uint8Array, id: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod20 = ( uniffiHandle: bigint, provider: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod21 = ( uniffiHandle: bigint, record: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteU64, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod22 = ( uniffiHandle: bigint, record: Uint8Array, localRevision: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod23 = ( uniffiHandle: bigint, limit: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod24 = ( uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteU64, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod25 = ( uniffiHandle: bigint, records: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod26 = ( uniffiHandle: bigint, record: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod27 = ( uniffiHandle: bigint, limit: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod28 = ( uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageMethod29 = ( uniffiHandle: bigint, record: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint ) => UniffiForeignFuture; type UniffiCallbackInterfaceStorageBackendMethod0 = ( uniffiHandle: bigint, network: Uint8Array, identity: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompletePointer, uniffiCallbackData: bigint ) => UniffiForeignFuture; export type UniffiVTableCallbackInterfaceEventListener = { onEvent: UniffiCallbackInterfaceEventListenerMethod0; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfaceLogger = { log: UniffiCallbackInterfaceLoggerMethod0; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfaceBitcoinChainService = { getAddressUtxos: UniffiCallbackInterfaceBitcoinChainServiceMethod0; getAddressTxos: UniffiCallbackInterfaceBitcoinChainServiceMethod1; getTransactionStatus: UniffiCallbackInterfaceBitcoinChainServiceMethod2; tipHeight: UniffiCallbackInterfaceBitcoinChainServiceMethod3; getTransactionHex: UniffiCallbackInterfaceBitcoinChainServiceMethod4; getOutspend: UniffiCallbackInterfaceBitcoinChainServiceMethod5; broadcastTransaction: UniffiCallbackInterfaceBitcoinChainServiceMethod6; recommendedFees: UniffiCallbackInterfaceBitcoinChainServiceMethod7; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfaceCpfpSigner = { signPsbt: UniffiCallbackInterfaceCpfpSignerMethod0; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfaceExternalBreezSigner = { derivePublicKey: UniffiCallbackInterfaceExternalBreezSignerMethod0; signEcdsa: UniffiCallbackInterfaceExternalBreezSignerMethod1; signEcdsaRecoverable: UniffiCallbackInterfaceExternalBreezSignerMethod2; encryptEcies: UniffiCallbackInterfaceExternalBreezSignerMethod3; decryptEcies: UniffiCallbackInterfaceExternalBreezSignerMethod4; signHashSchnorr: UniffiCallbackInterfaceExternalBreezSignerMethod5; hmacSha256: UniffiCallbackInterfaceExternalBreezSignerMethod6; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfaceExternalSigningSigner = { derivePublicKey: UniffiCallbackInterfaceExternalSigningSignerMethod0; signEcdsa: UniffiCallbackInterfaceExternalSigningSignerMethod1; signEcdsaRecoverable: UniffiCallbackInterfaceExternalSigningSignerMethod2; signHashSchnorr: UniffiCallbackInterfaceExternalSigningSignerMethod3; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfaceExternalSparkSigner = { getIdentityPublicKey: UniffiCallbackInterfaceExternalSparkSignerMethod0; getPublicKeyForLeaf: UniffiCallbackInterfaceExternalSparkSignerMethod1; isRemote: UniffiCallbackInterfaceExternalSparkSignerMethod2; getStaticDepositPublicKey: UniffiCallbackInterfaceExternalSparkSignerMethod3; signAuthenticationChallenge: UniffiCallbackInterfaceExternalSparkSignerMethod4; signMessage: UniffiCallbackInterfaceExternalSparkSignerMethod5; signLeafRefundSpend: UniffiCallbackInterfaceExternalSparkSignerMethod6; signFrost: UniffiCallbackInterfaceExternalSparkSignerMethod7; prepareTransfer: UniffiCallbackInterfaceExternalSparkSignerMethod8; prepareClaim: UniffiCallbackInterfaceExternalSparkSignerMethod9; prepareLightningReceive: UniffiCallbackInterfaceExternalSparkSignerMethod10; prepareStaticDeposit: UniffiCallbackInterfaceExternalSparkSignerMethod11; startStaticDepositRefund: UniffiCallbackInterfaceExternalSparkSignerMethod12; signStaticDepositRefund: UniffiCallbackInterfaceExternalSparkSignerMethod13; signSparkInvoice: UniffiCallbackInterfaceExternalSparkSignerMethod14; prepareTokenTransaction: UniffiCallbackInterfaceExternalSparkSignerMethod15; prepareStaticDepositClaim: UniffiCallbackInterfaceExternalSparkSignerMethod16; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfaceFiatService = { fetchFiatCurrencies: UniffiCallbackInterfaceFiatServiceMethod0; fetchFiatRates: UniffiCallbackInterfaceFiatServiceMethod1; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfacePaymentObserver = { beforeSend: UniffiCallbackInterfacePaymentObserverMethod0; afterSend: UniffiCallbackInterfacePaymentObserverMethod1; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfacePrfProvider = { deriveSeeds: UniffiCallbackInterfacePrfProviderMethod0; isSupported: UniffiCallbackInterfacePrfProviderMethod1; createPasskey: UniffiCallbackInterfacePrfProviderMethod2; checkDomainAssociation: UniffiCallbackInterfacePrfProviderMethod3; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfaceRestClient = { getRequest: UniffiCallbackInterfaceRestClientMethod0; postRequest: UniffiCallbackInterfaceRestClientMethod1; deleteRequest: UniffiCallbackInterfaceRestClientMethod2; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfaceSessionStore = { getSession: UniffiCallbackInterfaceSessionStoreMethod0; setSession: UniffiCallbackInterfaceSessionStoreMethod1; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfaceStorage = { deleteCachedItem: UniffiCallbackInterfaceStorageMethod0; getCachedItem: UniffiCallbackInterfaceStorageMethod1; setCachedItem: UniffiCallbackInterfaceStorageMethod2; listPayments: UniffiCallbackInterfaceStorageMethod3; applyPaymentUpdate: UniffiCallbackInterfaceStorageMethod4; insertPaymentMetadata: UniffiCallbackInterfaceStorageMethod5; getPaymentById: UniffiCallbackInterfaceStorageMethod6; getPaymentByInvoice: UniffiCallbackInterfaceStorageMethod7; getPaymentsByParentIds: UniffiCallbackInterfaceStorageMethod8; addDeposit: UniffiCallbackInterfaceStorageMethod9; deleteDeposit: UniffiCallbackInterfaceStorageMethod10; listDeposits: UniffiCallbackInterfaceStorageMethod11; updateDeposit: UniffiCallbackInterfaceStorageMethod12; setLnurlMetadata: UniffiCallbackInterfaceStorageMethod13; listContacts: UniffiCallbackInterfaceStorageMethod14; getContact: UniffiCallbackInterfaceStorageMethod15; insertContact: UniffiCallbackInterfaceStorageMethod16; deleteContact: UniffiCallbackInterfaceStorageMethod17; setCrossChainSwap: UniffiCallbackInterfaceStorageMethod18; getCrossChainSwap: UniffiCallbackInterfaceStorageMethod19; listActiveCrossChainSwaps: UniffiCallbackInterfaceStorageMethod20; addOutgoingChange: UniffiCallbackInterfaceStorageMethod21; completeOutgoingSync: UniffiCallbackInterfaceStorageMethod22; getPendingOutgoingChanges: UniffiCallbackInterfaceStorageMethod23; getLastRevision: UniffiCallbackInterfaceStorageMethod24; insertIncomingRecords: UniffiCallbackInterfaceStorageMethod25; deleteIncomingRecord: UniffiCallbackInterfaceStorageMethod26; getIncomingRecords: UniffiCallbackInterfaceStorageMethod27; getLatestOutgoingChange: UniffiCallbackInterfaceStorageMethod28; updateRecordFromIncoming: UniffiCallbackInterfaceStorageMethod29; uniffiFree: UniffiCallbackInterfaceFree; }; export type UniffiVTableCallbackInterfaceStorageBackend = { createStores: UniffiCallbackInterfaceStorageBackendMethod0; uniffiFree: UniffiCallbackInterfaceFree; }; // UniffiRustFutureContinuationCallback is generated as part of the component interface's // ffi_definitions. However, we need it in the runtime. // We could: // (a) do some complicated template logic to ensure the declaration is not generated here (possible) // (b) import the generated declaration into the runtime (m a y b e) or… // (c) generate the declaration anyway, and use a different declaration in the runtime. // // We chose (c) here as the simplest. In addition, we perform a compile time check that // the two versions of `UniffiRustFutureContinuationCallback` are structurally equivalent. // // If you see the error: // ``` // Type 'true' is not assignable to type 'false'.(2322) // ``` // Then a new version of uniffi has changed the signature of the callback. Most likely, code in // `typescript/src/async-rust-call.ts` will need to be changed. // // If you see the error: // ``` // Cannot find name 'UniffiRustFutureContinuationCallback'. Did you mean 'RuntimeUniffiRustFutureContinuationCallback'?(2552) // ``` // then you may not be using callbacks or promises, and uniffi is now not generating Futures and callbacks. // You should not generate this if that is the case. // // ('You' being the bindings generator maintainer). const isRustFutureContinuationCallbackTypeCompatible: UniffiStructuralEquality< RuntimeUniffiRustFutureContinuationCallback, UniffiRustFutureContinuationCallback > = true; const isUniffiForeignFutureTypeCompatible: UniffiStructuralEquality< RuntimeUniffiForeignFuture, UniffiForeignFuture > = true;