@breeztech/breez-sdk-spark-react-native 0.19.2 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/BreezSdkSparkReactNative.podspec +6 -0
  2. package/cpp/generated/breez_sdk_spark.cpp +1527 -125
  3. package/cpp/generated/breez_sdk_spark.hpp +84 -0
  4. package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
  5. package/lib/commonjs/generated/breez_sdk_spark.js +554 -62
  6. package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
  7. package/lib/commonjs/passkey-prf-provider.js +31 -11
  8. package/lib/commonjs/passkey-prf-provider.js.map +1 -1
  9. package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -1
  10. package/lib/module/generated/breez_sdk_spark.js +553 -61
  11. package/lib/module/generated/breez_sdk_spark.js.map +1 -1
  12. package/lib/module/passkey-prf-provider.js +31 -11
  13. package/lib/module/passkey-prf-provider.js.map +1 -1
  14. package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +56 -21
  15. package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
  16. package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +2251 -144
  17. package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
  18. package/lib/typescript/commonjs/src/passkey-prf-provider.d.ts +24 -6
  19. package/lib/typescript/commonjs/src/passkey-prf-provider.d.ts.map +1 -1
  20. package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +56 -21
  21. package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
  22. package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +2251 -144
  23. package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
  24. package/lib/typescript/module/src/passkey-prf-provider.d.ts +24 -6
  25. package/lib/typescript/module/src/passkey-prf-provider.d.ts.map +1 -1
  26. package/package.json +4 -4
  27. package/plugin/build/index.d.ts +1 -1
  28. package/plugin/build/index.js +3 -1
  29. package/plugin/build/withAndroid.d.ts +1 -1
  30. package/plugin/build/withAndroid.js +1 -1
  31. package/plugin/build/withBinaryArtifacts.d.ts +1 -1
  32. package/plugin/build/withBinaryArtifacts.js +1 -1
  33. package/plugin/build/withIOS.d.ts +1 -1
  34. package/plugin/build/withIOS.js +1 -1
  35. package/scripts/post-ubrn.js +42 -0
  36. package/src/generated/breez_sdk_spark-ffi.ts +122 -19
  37. package/src/generated/breez_sdk_spark.ts +3999 -77
  38. package/src/passkey-prf-provider.ts +41 -12
@@ -187,6 +187,11 @@ export declare function newRestChainService(url: string, network: Network, apiTy
187
187
  export declare function newSharedSdkContext(config: SdkContextConfig, asyncOpts_?: {
188
188
  signal: AbortSignal;
189
189
  }): Promise<SdkContextInterface>;
190
+ /**
191
+ * A CPFP signer backed by a single private key. Signs P2WPKH and P2TR key-path
192
+ * inputs only; taproot script-path spends are not supported.
193
+ */
194
+ export declare function singleKeyCpfpSigner(secretKeyBytes: ArrayBuffer): CpfpSigner;
190
195
  /**
191
196
  * Trait for event listeners
192
197
  */
@@ -330,6 +335,76 @@ export declare const AuthorizeTransferRequest: Readonly<{
330
335
  */
331
336
  defaults: () => Partial<AuthorizeTransferRequest>;
332
337
  }>;
338
+ /**
339
+ * A single payee in a batch send.
340
+ */
341
+ export type BatchRecipient = {
342
+ /**
343
+ * Spark address or Spark invoice identifying the payee.
344
+ */
345
+ paymentRequest: string;
346
+ /**
347
+ * Amount to send, in the base units of the asset being sent. Required
348
+ * unless `payment_request` is an invoice that carries its own amount.
349
+ */
350
+ amount: U128 | undefined;
351
+ /**
352
+ * Token to send. Unset means sats, which a batch cannot send yet, so a
353
+ * plain address needs this set. An invoice that names a token does not.
354
+ */
355
+ tokenIdentifier: string | undefined;
356
+ };
357
+ /**
358
+ * Generated factory for {@link BatchRecipient} record objects.
359
+ */
360
+ export declare const BatchRecipient: Readonly<{
361
+ /**
362
+ * Create a frozen instance of {@link BatchRecipient}, with defaults specified
363
+ * in Rust, in the {@link breez_sdk_spark} crate.
364
+ */
365
+ create: (partial: Partial<BatchRecipient> & Required<Omit<BatchRecipient, "amount" | "tokenIdentifier">>) => BatchRecipient;
366
+ /**
367
+ * Create a frozen instance of {@link BatchRecipient}, with defaults specified
368
+ * in Rust, in the {@link breez_sdk_spark} crate.
369
+ */
370
+ new: (partial: Partial<BatchRecipient> & Required<Omit<BatchRecipient, "amount" | "tokenIdentifier">>) => BatchRecipient;
371
+ /**
372
+ * Defaults specified in the {@link breez_sdk_spark} crate.
373
+ */
374
+ defaults: () => Partial<BatchRecipient>;
375
+ }>;
376
+ /**
377
+ * What a batch debits for one asset.
378
+ */
379
+ export type BatchTotal = {
380
+ /**
381
+ * The token debited. Unset means sats, which a batch cannot send yet.
382
+ */
383
+ tokenIdentifier: string | undefined;
384
+ /**
385
+ * Amount in the asset's base units.
386
+ */
387
+ amount: U128;
388
+ };
389
+ /**
390
+ * Generated factory for {@link BatchTotal} record objects.
391
+ */
392
+ export declare const BatchTotal: Readonly<{
393
+ /**
394
+ * Create a frozen instance of {@link BatchTotal}, with defaults specified
395
+ * in Rust, in the {@link breez_sdk_spark} crate.
396
+ */
397
+ create: (partial: Partial<BatchTotal> & Required<Omit<BatchTotal, never>>) => BatchTotal;
398
+ /**
399
+ * Create a frozen instance of {@link BatchTotal}, with defaults specified
400
+ * in Rust, in the {@link breez_sdk_spark} crate.
401
+ */
402
+ new: (partial: Partial<BatchTotal> & Required<Omit<BatchTotal, never>>) => BatchTotal;
403
+ /**
404
+ * Defaults specified in the {@link breez_sdk_spark} crate.
405
+ */
406
+ defaults: () => Partial<BatchTotal>;
407
+ }>;
333
408
  export type Bip21Details = {
334
409
  amountSat: /*u64*/ bigint | undefined;
335
410
  assetId: string | undefined;
@@ -669,6 +744,28 @@ export declare const Bolt12OfferDetails: Readonly<{
669
744
  */
670
745
  defaults: () => Partial<Bolt12OfferDetails>;
671
746
  }>;
747
+ export type BuildUnsignedBatchPackageRequest = {
748
+ prepareResponse: PrepareSendBatchResponse;
749
+ };
750
+ /**
751
+ * Generated factory for {@link BuildUnsignedBatchPackageRequest} record objects.
752
+ */
753
+ export declare const BuildUnsignedBatchPackageRequest: Readonly<{
754
+ /**
755
+ * Create a frozen instance of {@link BuildUnsignedBatchPackageRequest}, with defaults specified
756
+ * in Rust, in the {@link breez_sdk_spark} crate.
757
+ */
758
+ create: (partial: Partial<BuildUnsignedBatchPackageRequest> & Required<Omit<BuildUnsignedBatchPackageRequest, never>>) => BuildUnsignedBatchPackageRequest;
759
+ /**
760
+ * Create a frozen instance of {@link BuildUnsignedBatchPackageRequest}, with defaults specified
761
+ * in Rust, in the {@link breez_sdk_spark} crate.
762
+ */
763
+ new: (partial: Partial<BuildUnsignedBatchPackageRequest> & Required<Omit<BuildUnsignedBatchPackageRequest, never>>) => BuildUnsignedBatchPackageRequest;
764
+ /**
765
+ * Defaults specified in the {@link breez_sdk_spark} crate.
766
+ */
767
+ defaults: () => Partial<BuildUnsignedBatchPackageRequest>;
768
+ }>;
672
769
  export type BuildUnsignedLnurlPayPackageRequest = {
673
770
  prepareResponse: PrepareLnurlPayResponse;
674
771
  };
@@ -1604,6 +1701,42 @@ export declare const CreateIssuerTokenRequest: Readonly<{
1604
1701
  */
1605
1702
  defaults: () => Partial<CreateIssuerTokenRequest>;
1606
1703
  }>;
1704
+ /**
1705
+ * A newly created credential, plus the PRF outputs when the platform
1706
+ * evaluated them during the create ceremony itself.
1707
+ *
1708
+ * `seeds` present means no assertion is needed: the caller skips the
1709
+ * second ceremony, and with it the window in which a credential exists
1710
+ * but is not yet resolvable. Absent means the platform returned no PRF
1711
+ * results at create (or dropped one of a pair), so the caller derives
1712
+ * through [`super::PrfProvider::derive_seeds`] as before.
1713
+ */
1714
+ export type CreatePasskeyOutput = {
1715
+ credential: PasskeyCredential;
1716
+ /**
1717
+ * One output per requested salt, in request order.
1718
+ */
1719
+ seeds: Array<ArrayBuffer> | undefined;
1720
+ };
1721
+ /**
1722
+ * Generated factory for {@link CreatePasskeyOutput} record objects.
1723
+ */
1724
+ export declare const CreatePasskeyOutput: Readonly<{
1725
+ /**
1726
+ * Create a frozen instance of {@link CreatePasskeyOutput}, with defaults specified
1727
+ * in Rust, in the {@link breez_sdk_spark} crate.
1728
+ */
1729
+ create: (partial: Partial<CreatePasskeyOutput> & Required<Omit<CreatePasskeyOutput, never>>) => CreatePasskeyOutput;
1730
+ /**
1731
+ * Create a frozen instance of {@link CreatePasskeyOutput}, with defaults specified
1732
+ * in Rust, in the {@link breez_sdk_spark} crate.
1733
+ */
1734
+ new: (partial: Partial<CreatePasskeyOutput> & Required<Omit<CreatePasskeyOutput, never>>) => CreatePasskeyOutput;
1735
+ /**
1736
+ * Defaults specified in the {@link breez_sdk_spark} crate.
1737
+ */
1738
+ defaults: () => Partial<CreatePasskeyOutput>;
1739
+ }>;
1607
1740
  export type Credentials = {
1608
1741
  username: string;
1609
1742
  password: string;
@@ -4487,6 +4620,38 @@ export declare const PaymentRequestSource: Readonly<{
4487
4620
  */
4488
4621
  defaults: () => Partial<PaymentRequestSource>;
4489
4622
  }>;
4623
+ /**
4624
+ * How much to fund one branch of the exit to avoid a fan-out.
4625
+ */
4626
+ export type PerBranchFunding = {
4627
+ /**
4628
+ * The leaf whose branch this funds.
4629
+ */
4630
+ leafId: string;
4631
+ /**
4632
+ * Fund a UTXO of at least this many satoshis for this branch.
4633
+ */
4634
+ fundingSat: bigint;
4635
+ };
4636
+ /**
4637
+ * Generated factory for {@link PerBranchFunding} record objects.
4638
+ */
4639
+ export declare const PerBranchFunding: Readonly<{
4640
+ /**
4641
+ * Create a frozen instance of {@link PerBranchFunding}, with defaults specified
4642
+ * in Rust, in the {@link breez_sdk_spark} crate.
4643
+ */
4644
+ create: (partial: Partial<PerBranchFunding> & Required<Omit<PerBranchFunding, never>>) => PerBranchFunding;
4645
+ /**
4646
+ * Create a frozen instance of {@link PerBranchFunding}, with defaults specified
4647
+ * in Rust, in the {@link breez_sdk_spark} crate.
4648
+ */
4649
+ new: (partial: Partial<PerBranchFunding> & Required<Omit<PerBranchFunding, never>>) => PerBranchFunding;
4650
+ /**
4651
+ * Defaults specified in the {@link breez_sdk_spark} crate.
4652
+ */
4653
+ defaults: () => Partial<PerBranchFunding>;
4654
+ }>;
4490
4655
  export type PrepareLnurlPayRequest = {
4491
4656
  /**
4492
4657
  * The amount to send. Denominated in satoshis, or in token base units
@@ -4575,6 +4740,63 @@ export declare const PrepareLnurlPayResponse: Readonly<{
4575
4740
  */
4576
4741
  defaults: () => Partial<PrepareLnurlPayResponse>;
4577
4742
  }>;
4743
+ export type PrepareSendBatchRequest = {
4744
+ /**
4745
+ * The payees, all paid by one transaction. They may span several tokens,
4746
+ * and may mix Spark addresses with Spark invoices. Once a Spark invoice is
4747
+ * among them, every recipient must be paid in the same token.
4748
+ */
4749
+ recipients: Array<BatchRecipient>;
4750
+ };
4751
+ /**
4752
+ * Generated factory for {@link PrepareSendBatchRequest} record objects.
4753
+ */
4754
+ export declare const PrepareSendBatchRequest: Readonly<{
4755
+ /**
4756
+ * Create a frozen instance of {@link PrepareSendBatchRequest}, with defaults specified
4757
+ * in Rust, in the {@link breez_sdk_spark} crate.
4758
+ */
4759
+ create: (partial: Partial<PrepareSendBatchRequest> & Required<Omit<PrepareSendBatchRequest, never>>) => PrepareSendBatchRequest;
4760
+ /**
4761
+ * Create a frozen instance of {@link PrepareSendBatchRequest}, with defaults specified
4762
+ * in Rust, in the {@link breez_sdk_spark} crate.
4763
+ */
4764
+ new: (partial: Partial<PrepareSendBatchRequest> & Required<Omit<PrepareSendBatchRequest, never>>) => PrepareSendBatchRequest;
4765
+ /**
4766
+ * Defaults specified in the {@link breez_sdk_spark} crate.
4767
+ */
4768
+ defaults: () => Partial<PrepareSendBatchRequest>;
4769
+ }>;
4770
+ export type PrepareSendBatchResponse = {
4771
+ /**
4772
+ * The payees in the order they were requested, which is the order their
4773
+ * payments come back in.
4774
+ */
4775
+ recipients: Array<ResolvedBatchRecipient>;
4776
+ /**
4777
+ * What the batch debits, one entry per distinct asset.
4778
+ */
4779
+ totals: Array<BatchTotal>;
4780
+ };
4781
+ /**
4782
+ * Generated factory for {@link PrepareSendBatchResponse} record objects.
4783
+ */
4784
+ export declare const PrepareSendBatchResponse: Readonly<{
4785
+ /**
4786
+ * Create a frozen instance of {@link PrepareSendBatchResponse}, with defaults specified
4787
+ * in Rust, in the {@link breez_sdk_spark} crate.
4788
+ */
4789
+ create: (partial: Partial<PrepareSendBatchResponse> & Required<Omit<PrepareSendBatchResponse, never>>) => PrepareSendBatchResponse;
4790
+ /**
4791
+ * Create a frozen instance of {@link PrepareSendBatchResponse}, with defaults specified
4792
+ * in Rust, in the {@link breez_sdk_spark} crate.
4793
+ */
4794
+ new: (partial: Partial<PrepareSendBatchResponse> & Required<Omit<PrepareSendBatchResponse, never>>) => PrepareSendBatchResponse;
4795
+ /**
4796
+ * Defaults specified in the {@link breez_sdk_spark} crate.
4797
+ */
4798
+ defaults: () => Partial<PrepareSendBatchResponse>;
4799
+ }>;
4578
4800
  export type PrepareSendPaymentRequest = {
4579
4801
  paymentRequest: PaymentRequest;
4580
4802
  /**
@@ -4666,6 +4888,98 @@ export declare const PrepareSendPaymentResponse: Readonly<{
4666
4888
  */
4667
4889
  defaults: () => Partial<PrepareSendPaymentResponse>;
4668
4890
  }>;
4891
+ /**
4892
+ * Request for `prepare_unilateral_exit`, the exit quote.
4893
+ */
4894
+ export type PrepareUnilateralExitRequest = {
4895
+ /**
4896
+ * Target fee rate in sat/vByte, applied to every CPFP child, the fan-out,
4897
+ * and the sweep.
4898
+ */
4899
+ feeRateSatPerVbyte: bigint;
4900
+ fundingKind: CpfpFundingKind;
4901
+ /**
4902
+ * The Bitcoin address the swept funds are sent to.
4903
+ */
4904
+ destination: string;
4905
+ selection: ExitLeafSelection;
4906
+ };
4907
+ /**
4908
+ * Generated factory for {@link PrepareUnilateralExitRequest} record objects.
4909
+ */
4910
+ export declare const PrepareUnilateralExitRequest: Readonly<{
4911
+ /**
4912
+ * Create a frozen instance of {@link PrepareUnilateralExitRequest}, with defaults specified
4913
+ * in Rust, in the {@link breez_sdk_spark} crate.
4914
+ */
4915
+ create: (partial: Partial<PrepareUnilateralExitRequest> & Required<Omit<PrepareUnilateralExitRequest, never>>) => PrepareUnilateralExitRequest;
4916
+ /**
4917
+ * Create a frozen instance of {@link PrepareUnilateralExitRequest}, with defaults specified
4918
+ * in Rust, in the {@link breez_sdk_spark} crate.
4919
+ */
4920
+ new: (partial: Partial<PrepareUnilateralExitRequest> & Required<Omit<PrepareUnilateralExitRequest, never>>) => PrepareUnilateralExitRequest;
4921
+ /**
4922
+ * Defaults specified in the {@link breez_sdk_spark} crate.
4923
+ */
4924
+ defaults: () => Partial<PrepareUnilateralExitRequest>;
4925
+ }>;
4926
+ /**
4927
+ * Response from `prepare_unilateral_exit`: which leaves would exit, the exact
4928
+ * fee at the requested rate, and how much to fund.
4929
+ */
4930
+ export type PrepareUnilateralExitResponse = {
4931
+ leaves: Array<UnilateralExitLeaf>;
4932
+ /**
4933
+ * Total value of the selected leaves, in satoshis.
4934
+ */
4935
+ recoverableValueSat: bigint;
4936
+ /**
4937
+ * Total on-chain fee when funding with a single UTXO (fanned out across
4938
+ * branches), in satoshis. Exact for the given funding kind; nodes the
4939
+ * operators report on-chain are assumed already paid, so a partially-exited
4940
+ * tree quotes a lower fee than a fresh one.
4941
+ */
4942
+ totalFeeSat: bigint;
4943
+ /**
4944
+ * The part of `total_fee_sat` paid for the fan-out transaction. Funding one
4945
+ * UTXO per branch (`per_branch_funding`) avoids it. Zero for a single
4946
+ * branch (no fan-out).
4947
+ */
4948
+ fanoutFeeSat: bigint;
4949
+ /**
4950
+ * Fund a single UTXO of at least this many satoshis to exit with a fan-out.
4951
+ */
4952
+ singleUtxoFundingSat: bigint;
4953
+ /**
4954
+ * To skip the fan-out, fund one UTXO per branch of at least the given
4955
+ * amount (one entry per selected leaf).
4956
+ */
4957
+ perBranchFunding: Array<PerBranchFunding>;
4958
+ /**
4959
+ * The fee rate this quote was computed at, in sat/vByte.
4960
+ */
4961
+ feeRateSatPerVbyte: bigint;
4962
+ destination: string;
4963
+ };
4964
+ /**
4965
+ * Generated factory for {@link PrepareUnilateralExitResponse} record objects.
4966
+ */
4967
+ export declare const PrepareUnilateralExitResponse: Readonly<{
4968
+ /**
4969
+ * Create a frozen instance of {@link PrepareUnilateralExitResponse}, with defaults specified
4970
+ * in Rust, in the {@link breez_sdk_spark} crate.
4971
+ */
4972
+ create: (partial: Partial<PrepareUnilateralExitResponse> & Required<Omit<PrepareUnilateralExitResponse, never>>) => PrepareUnilateralExitResponse;
4973
+ /**
4974
+ * Create a frozen instance of {@link PrepareUnilateralExitResponse}, with defaults specified
4975
+ * in Rust, in the {@link breez_sdk_spark} crate.
4976
+ */
4977
+ new: (partial: Partial<PrepareUnilateralExitResponse> & Required<Omit<PrepareUnilateralExitResponse, never>>) => PrepareUnilateralExitResponse;
4978
+ /**
4979
+ * Defaults specified in the {@link breez_sdk_spark} crate.
4980
+ */
4981
+ defaults: () => Partial<PrepareUnilateralExitResponse>;
4982
+ }>;
4669
4983
  export type ProvisionalPayment = {
4670
4984
  /**
4671
4985
  * Unique identifier for the payment
@@ -5015,6 +5329,44 @@ export declare const RefundDepositResponse: Readonly<{
5015
5329
  */
5016
5330
  defaults: () => Partial<RefundDepositResponse>;
5017
5331
  }>;
5332
+ /**
5333
+ * Response from refunding pending conversions.
5334
+ */
5335
+ export type RefundPendingConversionsResponse = {
5336
+ /**
5337
+ * Conversions successfully refunded this pass.
5338
+ */
5339
+ refunded: number;
5340
+ /**
5341
+ * Conversions intentionally deferred (eligible but held back by a
5342
+ * safety window). The next pass will retry them.
5343
+ */
5344
+ skipped: number;
5345
+ /**
5346
+ * Conversions whose clawback did not complete this pass (rejected or
5347
+ * errored; funds not returned). The next pass will retry them.
5348
+ */
5349
+ failed: number;
5350
+ };
5351
+ /**
5352
+ * Generated factory for {@link RefundPendingConversionsResponse} record objects.
5353
+ */
5354
+ export declare const RefundPendingConversionsResponse: Readonly<{
5355
+ /**
5356
+ * Create a frozen instance of {@link RefundPendingConversionsResponse}, with defaults specified
5357
+ * in Rust, in the {@link breez_sdk_spark} crate.
5358
+ */
5359
+ create: (partial: Partial<RefundPendingConversionsResponse> & Required<Omit<RefundPendingConversionsResponse, never>>) => RefundPendingConversionsResponse;
5360
+ /**
5361
+ * Create a frozen instance of {@link RefundPendingConversionsResponse}, with defaults specified
5362
+ * in Rust, in the {@link breez_sdk_spark} crate.
5363
+ */
5364
+ new: (partial: Partial<RefundPendingConversionsResponse> & Required<Omit<RefundPendingConversionsResponse, never>>) => RefundPendingConversionsResponse;
5365
+ /**
5366
+ * Defaults specified in the {@link breez_sdk_spark} crate.
5367
+ */
5368
+ defaults: () => Partial<RefundPendingConversionsResponse>;
5369
+ }>;
5018
5370
  export type RegisterLightningAddressRequest = {
5019
5371
  username: string;
5020
5372
  description: string | undefined;
@@ -5176,6 +5528,40 @@ export declare const RegisterWebhookResponse: Readonly<{
5176
5528
  */
5177
5529
  defaults: () => Partial<RegisterWebhookResponse>;
5178
5530
  }>;
5531
+ /**
5532
+ * A recipient after prepare has resolved the asset and amount it is owed.
5533
+ */
5534
+ export type ResolvedBatchRecipient = {
5535
+ destination: BatchDestination;
5536
+ /**
5537
+ * Amount in the base units of the asset this recipient is paid in.
5538
+ */
5539
+ amount: U128;
5540
+ /**
5541
+ * The token this recipient is paid in. Unset means sats, which a batch
5542
+ * cannot send yet.
5543
+ */
5544
+ tokenIdentifier: string | undefined;
5545
+ };
5546
+ /**
5547
+ * Generated factory for {@link ResolvedBatchRecipient} record objects.
5548
+ */
5549
+ export declare const ResolvedBatchRecipient: Readonly<{
5550
+ /**
5551
+ * Create a frozen instance of {@link ResolvedBatchRecipient}, with defaults specified
5552
+ * in Rust, in the {@link breez_sdk_spark} crate.
5553
+ */
5554
+ create: (partial: Partial<ResolvedBatchRecipient> & Required<Omit<ResolvedBatchRecipient, never>>) => ResolvedBatchRecipient;
5555
+ /**
5556
+ * Create a frozen instance of {@link ResolvedBatchRecipient}, with defaults specified
5557
+ * in Rust, in the {@link breez_sdk_spark} crate.
5558
+ */
5559
+ new: (partial: Partial<ResolvedBatchRecipient> & Required<Omit<ResolvedBatchRecipient, never>>) => ResolvedBatchRecipient;
5560
+ /**
5561
+ * Defaults specified in the {@link breez_sdk_spark} crate.
5562
+ */
5563
+ defaults: () => Partial<ResolvedBatchRecipient>;
5564
+ }>;
5179
5565
  export type RestResponse = {
5180
5566
  status: number;
5181
5567
  body: string;
@@ -5303,6 +5689,54 @@ export declare const SecretBytes: Readonly<{
5303
5689
  */
5304
5690
  defaults: () => Partial<SecretBytes>;
5305
5691
  }>;
5692
+ export type SendBatchRequest = {
5693
+ prepareResponse: PrepareSendBatchResponse;
5694
+ };
5695
+ /**
5696
+ * Generated factory for {@link SendBatchRequest} record objects.
5697
+ */
5698
+ export declare const SendBatchRequest: Readonly<{
5699
+ /**
5700
+ * Create a frozen instance of {@link SendBatchRequest}, with defaults specified
5701
+ * in Rust, in the {@link breez_sdk_spark} crate.
5702
+ */
5703
+ create: (partial: Partial<SendBatchRequest> & Required<Omit<SendBatchRequest, never>>) => SendBatchRequest;
5704
+ /**
5705
+ * Create a frozen instance of {@link SendBatchRequest}, with defaults specified
5706
+ * in Rust, in the {@link breez_sdk_spark} crate.
5707
+ */
5708
+ new: (partial: Partial<SendBatchRequest> & Required<Omit<SendBatchRequest, never>>) => SendBatchRequest;
5709
+ /**
5710
+ * Defaults specified in the {@link breez_sdk_spark} crate.
5711
+ */
5712
+ defaults: () => Partial<SendBatchRequest>;
5713
+ }>;
5714
+ export type SendBatchResponse = {
5715
+ /**
5716
+ * One payment per recipient, in recipient order, all sharing a transaction
5717
+ * hash.
5718
+ */
5719
+ payments: Array<Payment>;
5720
+ };
5721
+ /**
5722
+ * Generated factory for {@link SendBatchResponse} record objects.
5723
+ */
5724
+ export declare const SendBatchResponse: Readonly<{
5725
+ /**
5726
+ * Create a frozen instance of {@link SendBatchResponse}, with defaults specified
5727
+ * in Rust, in the {@link breez_sdk_spark} crate.
5728
+ */
5729
+ create: (partial: Partial<SendBatchResponse> & Required<Omit<SendBatchResponse, never>>) => SendBatchResponse;
5730
+ /**
5731
+ * Create a frozen instance of {@link SendBatchResponse}, with defaults specified
5732
+ * in Rust, in the {@link breez_sdk_spark} crate.
5733
+ */
5734
+ new: (partial: Partial<SendBatchResponse> & Required<Omit<SendBatchResponse, never>>) => SendBatchResponse;
5735
+ /**
5736
+ * Defaults specified in the {@link breez_sdk_spark} crate.
5737
+ */
5738
+ defaults: () => Partial<SendBatchResponse>;
5739
+ }>;
5306
5740
  export type SendOnchainFeeQuote = {
5307
5741
  id: string;
5308
5742
  expiresAt: bigint;
@@ -6684,25 +7118,180 @@ export declare const UnfreezeIssuerTokenResponse: Readonly<{
6684
7118
  defaults: () => Partial<UnfreezeIssuerTokenResponse>;
6685
7119
  }>;
6686
7120
  /**
6687
- * Request to unregister an existing webhook.
7121
+ * A leaf selected for exit, with its value.
6688
7122
  */
6689
- export type UnregisterWebhookRequest = {
7123
+ export type UnilateralExitLeaf = {
7124
+ leafId: string;
6690
7125
  /**
6691
- * The unique identifier of the webhook to unregister.
7126
+ * The leaf's value in satoshis.
6692
7127
  */
6693
- webhookId: string;
7128
+ value: bigint;
6694
7129
  };
6695
7130
  /**
6696
- * Generated factory for {@link UnregisterWebhookRequest} record objects.
7131
+ * Generated factory for {@link UnilateralExitLeaf} record objects.
6697
7132
  */
6698
- export declare const UnregisterWebhookRequest: Readonly<{
7133
+ export declare const UnilateralExitLeaf: Readonly<{
6699
7134
  /**
6700
- * Create a frozen instance of {@link UnregisterWebhookRequest}, with defaults specified
7135
+ * Create a frozen instance of {@link UnilateralExitLeaf}, with defaults specified
6701
7136
  * in Rust, in the {@link breez_sdk_spark} crate.
6702
7137
  */
6703
- create: (partial: Partial<UnregisterWebhookRequest> & Required<Omit<UnregisterWebhookRequest, never>>) => UnregisterWebhookRequest;
7138
+ create: (partial: Partial<UnilateralExitLeaf> & Required<Omit<UnilateralExitLeaf, never>>) => UnilateralExitLeaf;
6704
7139
  /**
6705
- * Create a frozen instance of {@link UnregisterWebhookRequest}, with defaults specified
7140
+ * Create a frozen instance of {@link UnilateralExitLeaf}, with defaults specified
7141
+ * in Rust, in the {@link breez_sdk_spark} crate.
7142
+ */
7143
+ new: (partial: Partial<UnilateralExitLeaf> & Required<Omit<UnilateralExitLeaf, never>>) => UnilateralExitLeaf;
7144
+ /**
7145
+ * Defaults specified in the {@link breez_sdk_spark} crate.
7146
+ */
7147
+ defaults: () => Partial<UnilateralExitLeaf>;
7148
+ }>;
7149
+ /**
7150
+ * Request for `unilateral_exit`: a `prepare_unilateral_exit` quote plus the
7151
+ * funding UTXOs that pay its fees. The signer is passed separately (it is not a
7152
+ * plain data value).
7153
+ */
7154
+ export type UnilateralExitRequest = {
7155
+ /**
7156
+ * The quote returned by `prepare_unilateral_exit`, naming the leaves to exit.
7157
+ */
7158
+ prepared: PrepareUnilateralExitResponse;
7159
+ /**
7160
+ * The funding UTXOs that pay the exit's on-chain fees, meeting the quote's
7161
+ * `single_utxo_funding_sat` (one UTXO) or `per_branch_funding` (one per branch).
7162
+ */
7163
+ fundingInputs: Array<CpfpInput>;
7164
+ };
7165
+ /**
7166
+ * Generated factory for {@link UnilateralExitRequest} record objects.
7167
+ */
7168
+ export declare const UnilateralExitRequest: Readonly<{
7169
+ /**
7170
+ * Create a frozen instance of {@link UnilateralExitRequest}, with defaults specified
7171
+ * in Rust, in the {@link breez_sdk_spark} crate.
7172
+ */
7173
+ create: (partial: Partial<UnilateralExitRequest> & Required<Omit<UnilateralExitRequest, never>>) => UnilateralExitRequest;
7174
+ /**
7175
+ * Create a frozen instance of {@link UnilateralExitRequest}, with defaults specified
7176
+ * in Rust, in the {@link breez_sdk_spark} crate.
7177
+ */
7178
+ new: (partial: Partial<UnilateralExitRequest> & Required<Omit<UnilateralExitRequest, never>>) => UnilateralExitRequest;
7179
+ /**
7180
+ * Defaults specified in the {@link breez_sdk_spark} crate.
7181
+ */
7182
+ defaults: () => Partial<UnilateralExitRequest>;
7183
+ }>;
7184
+ /**
7185
+ * Result of `unilateral_exit`: a cost summary plus the complete, signed exit
7186
+ * path.
7187
+ */
7188
+ export type UnilateralExitResponse = {
7189
+ /**
7190
+ * Total value of the selected leaves, in satoshis.
7191
+ */
7192
+ recoverableValueSat: bigint;
7193
+ /**
7194
+ * The actual total on-chain fee the returned transactions pay at the
7195
+ * requested rate, in satoshis. A resumed or partially-confirmed exit pays
7196
+ * less because already-confirmed steps are not rebuilt.
7197
+ */
7198
+ totalFeeSat: bigint;
7199
+ leaves: Array<UnilateralExitLeaf>;
7200
+ /**
7201
+ * The full signed transaction set, in valid topological (broadcast) order
7202
+ * with shared ancestors appearing once and the sweep last.
7203
+ */
7204
+ transactions: Array<UnilateralExitTransaction>;
7205
+ };
7206
+ /**
7207
+ * Generated factory for {@link UnilateralExitResponse} record objects.
7208
+ */
7209
+ export declare const UnilateralExitResponse: Readonly<{
7210
+ /**
7211
+ * Create a frozen instance of {@link UnilateralExitResponse}, with defaults specified
7212
+ * in Rust, in the {@link breez_sdk_spark} crate.
7213
+ */
7214
+ create: (partial: Partial<UnilateralExitResponse> & Required<Omit<UnilateralExitResponse, never>>) => UnilateralExitResponse;
7215
+ /**
7216
+ * Create a frozen instance of {@link UnilateralExitResponse}, with defaults specified
7217
+ * in Rust, in the {@link breez_sdk_spark} crate.
7218
+ */
7219
+ new: (partial: Partial<UnilateralExitResponse> & Required<Omit<UnilateralExitResponse, never>>) => UnilateralExitResponse;
7220
+ /**
7221
+ * Defaults specified in the {@link breez_sdk_spark} crate.
7222
+ */
7223
+ defaults: () => Partial<UnilateralExitResponse>;
7224
+ }>;
7225
+ /**
7226
+ * One transaction in the unilateral exit path, with everything needed to
7227
+ * order and broadcast it.
7228
+ */
7229
+ export type UnilateralExitTransaction = {
7230
+ kind: UnilateralExitTxKind;
7231
+ /**
7232
+ * The tree node this transaction belongs to. Unset for the fan-out and the
7233
+ * sweep.
7234
+ */
7235
+ nodeId: string | undefined;
7236
+ txid: string;
7237
+ txHex: string;
7238
+ /**
7239
+ * The signed CPFP child to broadcast alongside `tx_hex` as a package.
7240
+ * Unset for the fan-out and the sweep (no anchor to bump) and for a
7241
+ * `Confirmed` step (its CPFP is already on-chain).
7242
+ */
7243
+ cpfpTxHex: string | undefined;
7244
+ /**
7245
+ * Relative CSV timelock, in blocks, that must mature on the spent input
7246
+ * before this transaction can confirm. Unset when there is no timelock.
7247
+ */
7248
+ csvTimelockBlocks: /*u32*/ number | undefined;
7249
+ /**
7250
+ * Txids of other entries in this list that must be confirmed before this
7251
+ * one can be broadcast.
7252
+ */
7253
+ dependsOn: Array<string>;
7254
+ status: ConfirmationStatus;
7255
+ };
7256
+ /**
7257
+ * Generated factory for {@link UnilateralExitTransaction} record objects.
7258
+ */
7259
+ export declare const UnilateralExitTransaction: Readonly<{
7260
+ /**
7261
+ * Create a frozen instance of {@link UnilateralExitTransaction}, with defaults specified
7262
+ * in Rust, in the {@link breez_sdk_spark} crate.
7263
+ */
7264
+ create: (partial: Partial<UnilateralExitTransaction> & Required<Omit<UnilateralExitTransaction, never>>) => UnilateralExitTransaction;
7265
+ /**
7266
+ * Create a frozen instance of {@link UnilateralExitTransaction}, with defaults specified
7267
+ * in Rust, in the {@link breez_sdk_spark} crate.
7268
+ */
7269
+ new: (partial: Partial<UnilateralExitTransaction> & Required<Omit<UnilateralExitTransaction, never>>) => UnilateralExitTransaction;
7270
+ /**
7271
+ * Defaults specified in the {@link breez_sdk_spark} crate.
7272
+ */
7273
+ defaults: () => Partial<UnilateralExitTransaction>;
7274
+ }>;
7275
+ /**
7276
+ * Request to unregister an existing webhook.
7277
+ */
7278
+ export type UnregisterWebhookRequest = {
7279
+ /**
7280
+ * The unique identifier of the webhook to unregister.
7281
+ */
7282
+ webhookId: string;
7283
+ };
7284
+ /**
7285
+ * Generated factory for {@link UnregisterWebhookRequest} record objects.
7286
+ */
7287
+ export declare const UnregisterWebhookRequest: Readonly<{
7288
+ /**
7289
+ * Create a frozen instance of {@link UnregisterWebhookRequest}, with defaults specified
7290
+ * in Rust, in the {@link breez_sdk_spark} crate.
7291
+ */
7292
+ create: (partial: Partial<UnregisterWebhookRequest> & Required<Omit<UnregisterWebhookRequest, never>>) => UnregisterWebhookRequest;
7293
+ /**
7294
+ * Create a frozen instance of {@link UnregisterWebhookRequest}, with defaults specified
6706
7295
  * in Rust, in the {@link breez_sdk_spark} crate.
6707
7296
  */
6708
7297
  new: (partial: Partial<UnregisterWebhookRequest> & Required<Omit<UnregisterWebhookRequest, never>>) => UnregisterWebhookRequest;
@@ -6771,6 +7360,14 @@ export type UpdateUserSettingsRequest = {
6771
7360
  * Update the active stable balance token. `None` means no change.
6772
7361
  */
6773
7362
  stableBalanceActiveLabel: StableBalanceActiveLabel | undefined;
7363
+ /**
7364
+ * Designate or remove the wallet's master identity, a second public key
7365
+ * the Spark operators accept as a reader of this wallet's balance and
7366
+ * history while `spark_private_mode_enabled` is set. The master identity
7367
+ * can only read: payments still require the owner's keys. `None` means no
7368
+ * change.
7369
+ */
7370
+ sparkMasterIdentityPublicKey: SparkMasterIdentityPublicKey | undefined;
6774
7371
  };
6775
7372
  /**
6776
7373
  * Generated factory for {@link UpdateUserSettingsRequest} record objects.
@@ -6780,12 +7377,12 @@ export declare const UpdateUserSettingsRequest: Readonly<{
6780
7377
  * Create a frozen instance of {@link UpdateUserSettingsRequest}, with defaults specified
6781
7378
  * in Rust, in the {@link breez_sdk_spark} crate.
6782
7379
  */
6783
- create: (partial: Partial<UpdateUserSettingsRequest> & Required<Omit<UpdateUserSettingsRequest, "stableBalanceActiveLabel">>) => UpdateUserSettingsRequest;
7380
+ create: (partial: Partial<UpdateUserSettingsRequest> & Required<Omit<UpdateUserSettingsRequest, "stableBalanceActiveLabel" | "sparkMasterIdentityPublicKey">>) => UpdateUserSettingsRequest;
6784
7381
  /**
6785
7382
  * Create a frozen instance of {@link UpdateUserSettingsRequest}, with defaults specified
6786
7383
  * in Rust, in the {@link breez_sdk_spark} crate.
6787
7384
  */
6788
- new: (partial: Partial<UpdateUserSettingsRequest> & Required<Omit<UpdateUserSettingsRequest, "stableBalanceActiveLabel">>) => UpdateUserSettingsRequest;
7385
+ new: (partial: Partial<UpdateUserSettingsRequest> & Required<Omit<UpdateUserSettingsRequest, "stableBalanceActiveLabel" | "sparkMasterIdentityPublicKey">>) => UpdateUserSettingsRequest;
6789
7386
  /**
6790
7387
  * Defaults specified in the {@link breez_sdk_spark} crate.
6791
7388
  */
@@ -6832,6 +7429,11 @@ export type UserSettings = {
6832
7429
  * The label of the currently active stable balance token, or `None` if deactivated.
6833
7430
  */
6834
7431
  stableBalanceActiveLabel: string | undefined;
7432
+ /**
7433
+ * The hex encoded public key designated as this wallet's master identity
7434
+ * key, or `None` if none is designated.
7435
+ */
7436
+ sparkMasterIdentityPublicKey: string | undefined;
6835
7437
  };
6836
7438
  /**
6837
7439
  * Generated factory for {@link UserSettings} record objects.
@@ -7482,6 +8084,98 @@ export declare const AutoOptimizationEvent: Readonly<{
7482
8084
  };
7483
8085
  }>;
7484
8086
  export type AutoOptimizationEvent = InstanceType<(typeof AutoOptimizationEvent)[keyof Omit<typeof AutoOptimizationEvent, 'instanceOf'>]>;
8087
+ export declare enum BatchDestination_Tags {
8088
+ SparkAddress = "SparkAddress",
8089
+ SparkInvoice = "SparkInvoice"
8090
+ }
8091
+ /**
8092
+ * Where a batch recipient is paid, once prepare has decoded its payment request.
8093
+ */
8094
+ export declare const BatchDestination: Readonly<{
8095
+ instanceOf: (obj: any) => obj is BatchDestination;
8096
+ SparkAddress: {
8097
+ new (inner: {
8098
+ address: string;
8099
+ }): {
8100
+ readonly tag: BatchDestination_Tags.SparkAddress;
8101
+ readonly inner: Readonly<{
8102
+ address: string;
8103
+ }>;
8104
+ /**
8105
+ * @private
8106
+ * This field is private and should not be used, use `tag` instead.
8107
+ */
8108
+ readonly [uniffiTypeNameSymbol]: "BatchDestination";
8109
+ };
8110
+ "new"(inner: {
8111
+ address: string;
8112
+ }): {
8113
+ readonly tag: BatchDestination_Tags.SparkAddress;
8114
+ readonly inner: Readonly<{
8115
+ address: string;
8116
+ }>;
8117
+ /**
8118
+ * @private
8119
+ * This field is private and should not be used, use `tag` instead.
8120
+ */
8121
+ readonly [uniffiTypeNameSymbol]: "BatchDestination";
8122
+ };
8123
+ instanceOf(obj: any): obj is {
8124
+ readonly tag: BatchDestination_Tags.SparkAddress;
8125
+ readonly inner: Readonly<{
8126
+ address: string;
8127
+ }>;
8128
+ /**
8129
+ * @private
8130
+ * This field is private and should not be used, use `tag` instead.
8131
+ */
8132
+ readonly [uniffiTypeNameSymbol]: "BatchDestination";
8133
+ };
8134
+ };
8135
+ SparkInvoice: {
8136
+ new (inner: {
8137
+ invoiceDetails: SparkInvoiceDetails;
8138
+ }): {
8139
+ readonly tag: BatchDestination_Tags.SparkInvoice;
8140
+ readonly inner: Readonly<{
8141
+ invoiceDetails: SparkInvoiceDetails;
8142
+ }>;
8143
+ /**
8144
+ * @private
8145
+ * This field is private and should not be used, use `tag` instead.
8146
+ */
8147
+ readonly [uniffiTypeNameSymbol]: "BatchDestination";
8148
+ };
8149
+ "new"(inner: {
8150
+ invoiceDetails: SparkInvoiceDetails;
8151
+ }): {
8152
+ readonly tag: BatchDestination_Tags.SparkInvoice;
8153
+ readonly inner: Readonly<{
8154
+ invoiceDetails: SparkInvoiceDetails;
8155
+ }>;
8156
+ /**
8157
+ * @private
8158
+ * This field is private and should not be used, use `tag` instead.
8159
+ */
8160
+ readonly [uniffiTypeNameSymbol]: "BatchDestination";
8161
+ };
8162
+ instanceOf(obj: any): obj is {
8163
+ readonly tag: BatchDestination_Tags.SparkInvoice;
8164
+ readonly inner: Readonly<{
8165
+ invoiceDetails: SparkInvoiceDetails;
8166
+ }>;
8167
+ /**
8168
+ * @private
8169
+ * This field is private and should not be used, use `tag` instead.
8170
+ */
8171
+ readonly [uniffiTypeNameSymbol]: "BatchDestination";
8172
+ };
8173
+ };
8174
+ }>;
8175
+ /**
8176
+ * Where a batch recipient is paid, once prepare has decoded its payment request.
8177
+ */
8178
+ export type BatchDestination = InstanceType<(typeof BatchDestination)[keyof Omit<typeof BatchDestination, 'instanceOf'>]>;
7485
8179
  export declare enum BitcoinNetwork {
7486
8180
  /**
7487
8181
  * Mainnet
@@ -7932,6 +8626,24 @@ export declare const ChainServiceError: Readonly<{
7932
8626
  };
7933
8627
  }>;
7934
8628
  export type ChainServiceError = InstanceType<(typeof ChainServiceError)[keyof Omit<typeof ChainServiceError, 'instanceOf'>]>;
8629
+ /**
8630
+ * Whether a transaction in the exit path is already on-chain.
8631
+ */
8632
+ export declare enum ConfirmationStatus {
8633
+ /**
8634
+ * This transaction is confirmed in a block. It needs no action.
8635
+ */
8636
+ Confirmed = 0,
8637
+ /**
8638
+ * This transaction is not yet confirmed. Mempool state is not consulted.
8639
+ */
8640
+ Unconfirmed = 1,
8641
+ /**
8642
+ * The on-chain status could not be determined (the chain service errored).
8643
+ * Broadcasting may fail if a conflicting transaction already landed.
8644
+ */
8645
+ Unverified = 2
8646
+ }
7935
8647
  export declare enum ConversionChain_Tags {
7936
8648
  Spark = "Spark",
7937
8649
  Lightning = "Lightning",
@@ -8715,111 +9427,404 @@ export declare const ConversionPurpose: Readonly<{
8715
9427
  readonly [uniffiTypeNameSymbol]: "ConversionPurpose";
8716
9428
  };
8717
9429
  };
8718
- }>;
8719
- /**
8720
- * The purpose of the conversion, which is used to provide context for the conversion
8721
- * if its related to an ongoing payment or a self-transfer.
8722
- */
8723
- export type ConversionPurpose = InstanceType<(typeof ConversionPurpose)[keyof Omit<typeof ConversionPurpose, 'instanceOf'>]>;
8724
- /**
8725
- * The status of the conversion
8726
- */
8727
- export declare enum ConversionStatus {
8728
- /**
8729
- * Conversion is in-flight (queued or started, not yet completed)
8730
- */
8731
- Pending = 0,
8732
- /**
8733
- * The conversion was successful
8734
- */
8735
- Completed = 1,
8736
- /**
8737
- * The conversion failed (e.g., the initial send payment failed)
8738
- */
8739
- Failed = 2,
8740
- /**
8741
- * The conversion failed and no refund was made yet, which requires action by the SDK to
8742
- * perform the refund. This can happen if there was a failure during the conversion process.
8743
- */
8744
- RefundNeeded = 3,
8745
- /**
8746
- * The conversion failed and a refund was made
8747
- */
8748
- Refunded = 4
8749
- }
8750
- export declare enum ConversionType_Tags {
8751
- FromBitcoin = "FromBitcoin",
8752
- ToBitcoin = "ToBitcoin"
8753
- }
8754
- export declare const ConversionType: Readonly<{
8755
- instanceOf: (obj: any) => obj is ConversionType;
8756
- FromBitcoin: {
8757
- new (): {
8758
- readonly tag: ConversionType_Tags.FromBitcoin;
9430
+ }>;
9431
+ /**
9432
+ * The purpose of the conversion, which is used to provide context for the conversion
9433
+ * if its related to an ongoing payment or a self-transfer.
9434
+ */
9435
+ export type ConversionPurpose = InstanceType<(typeof ConversionPurpose)[keyof Omit<typeof ConversionPurpose, 'instanceOf'>]>;
9436
+ /**
9437
+ * The status of the conversion
9438
+ */
9439
+ export declare enum ConversionStatus {
9440
+ /**
9441
+ * Conversion is in-flight (queued or started, not yet completed)
9442
+ */
9443
+ Pending = 0,
9444
+ /**
9445
+ * The conversion was successful
9446
+ */
9447
+ Completed = 1,
9448
+ /**
9449
+ * The conversion failed (e.g., the initial send payment failed)
9450
+ */
9451
+ Failed = 2,
9452
+ /**
9453
+ * The conversion failed and no refund was made yet, which requires action by the SDK to
9454
+ * perform the refund. This can happen if there was a failure during the conversion process.
9455
+ */
9456
+ RefundNeeded = 3,
9457
+ /**
9458
+ * The conversion failed and a refund was made
9459
+ */
9460
+ Refunded = 4
9461
+ }
9462
+ export declare enum ConversionType_Tags {
9463
+ FromBitcoin = "FromBitcoin",
9464
+ ToBitcoin = "ToBitcoin"
9465
+ }
9466
+ export declare const ConversionType: Readonly<{
9467
+ instanceOf: (obj: any) => obj is ConversionType;
9468
+ FromBitcoin: {
9469
+ new (): {
9470
+ readonly tag: ConversionType_Tags.FromBitcoin;
9471
+ /**
9472
+ * @private
9473
+ * This field is private and should not be used, use `tag` instead.
9474
+ */
9475
+ readonly [uniffiTypeNameSymbol]: "ConversionType";
9476
+ };
9477
+ "new"(): {
9478
+ readonly tag: ConversionType_Tags.FromBitcoin;
9479
+ /**
9480
+ * @private
9481
+ * This field is private and should not be used, use `tag` instead.
9482
+ */
9483
+ readonly [uniffiTypeNameSymbol]: "ConversionType";
9484
+ };
9485
+ instanceOf(obj: any): obj is {
9486
+ readonly tag: ConversionType_Tags.FromBitcoin;
9487
+ /**
9488
+ * @private
9489
+ * This field is private and should not be used, use `tag` instead.
9490
+ */
9491
+ readonly [uniffiTypeNameSymbol]: "ConversionType";
9492
+ };
9493
+ };
9494
+ ToBitcoin: {
9495
+ new (inner: {
9496
+ fromTokenIdentifier: string;
9497
+ }): {
9498
+ readonly tag: ConversionType_Tags.ToBitcoin;
9499
+ readonly inner: Readonly<{
9500
+ fromTokenIdentifier: string;
9501
+ }>;
9502
+ /**
9503
+ * @private
9504
+ * This field is private and should not be used, use `tag` instead.
9505
+ */
9506
+ readonly [uniffiTypeNameSymbol]: "ConversionType";
9507
+ };
9508
+ "new"(inner: {
9509
+ fromTokenIdentifier: string;
9510
+ }): {
9511
+ readonly tag: ConversionType_Tags.ToBitcoin;
9512
+ readonly inner: Readonly<{
9513
+ fromTokenIdentifier: string;
9514
+ }>;
9515
+ /**
9516
+ * @private
9517
+ * This field is private and should not be used, use `tag` instead.
9518
+ */
9519
+ readonly [uniffiTypeNameSymbol]: "ConversionType";
9520
+ };
9521
+ instanceOf(obj: any): obj is {
9522
+ readonly tag: ConversionType_Tags.ToBitcoin;
9523
+ readonly inner: Readonly<{
9524
+ fromTokenIdentifier: string;
9525
+ }>;
9526
+ /**
9527
+ * @private
9528
+ * This field is private and should not be used, use `tag` instead.
9529
+ */
9530
+ readonly [uniffiTypeNameSymbol]: "ConversionType";
9531
+ };
9532
+ };
9533
+ }>;
9534
+ export type ConversionType = InstanceType<(typeof ConversionType)[keyof Omit<typeof ConversionType, 'instanceOf'>]>;
9535
+ export declare enum CpfpFundingKind_Tags {
9536
+ P2wpkh = "P2wpkh",
9537
+ P2tr = "P2tr",
9538
+ Custom = "Custom"
9539
+ }
9540
+ /**
9541
+ * The kind of UTXO that will fund an exit's fees.
9542
+ */
9543
+ export declare const CpfpFundingKind: Readonly<{
9544
+ instanceOf: (obj: any) => obj is CpfpFundingKind;
9545
+ P2wpkh: {
9546
+ new (): {
9547
+ readonly tag: CpfpFundingKind_Tags.P2wpkh;
9548
+ /**
9549
+ * @private
9550
+ * This field is private and should not be used, use `tag` instead.
9551
+ */
9552
+ readonly [uniffiTypeNameSymbol]: "CpfpFundingKind";
9553
+ };
9554
+ "new"(): {
9555
+ readonly tag: CpfpFundingKind_Tags.P2wpkh;
9556
+ /**
9557
+ * @private
9558
+ * This field is private and should not be used, use `tag` instead.
9559
+ */
9560
+ readonly [uniffiTypeNameSymbol]: "CpfpFundingKind";
9561
+ };
9562
+ instanceOf(obj: any): obj is {
9563
+ readonly tag: CpfpFundingKind_Tags.P2wpkh;
9564
+ /**
9565
+ * @private
9566
+ * This field is private and should not be used, use `tag` instead.
9567
+ */
9568
+ readonly [uniffiTypeNameSymbol]: "CpfpFundingKind";
9569
+ };
9570
+ };
9571
+ P2tr: {
9572
+ new (): {
9573
+ readonly tag: CpfpFundingKind_Tags.P2tr;
9574
+ /**
9575
+ * @private
9576
+ * This field is private and should not be used, use `tag` instead.
9577
+ */
9578
+ readonly [uniffiTypeNameSymbol]: "CpfpFundingKind";
9579
+ };
9580
+ "new"(): {
9581
+ readonly tag: CpfpFundingKind_Tags.P2tr;
9582
+ /**
9583
+ * @private
9584
+ * This field is private and should not be used, use `tag` instead.
9585
+ */
9586
+ readonly [uniffiTypeNameSymbol]: "CpfpFundingKind";
9587
+ };
9588
+ instanceOf(obj: any): obj is {
9589
+ readonly tag: CpfpFundingKind_Tags.P2tr;
9590
+ /**
9591
+ * @private
9592
+ * This field is private and should not be used, use `tag` instead.
9593
+ */
9594
+ readonly [uniffiTypeNameSymbol]: "CpfpFundingKind";
9595
+ };
9596
+ };
9597
+ Custom: {
9598
+ new (inner: {
9599
+ scriptPubkeyHex: string;
9600
+ signedInputWeight: bigint;
9601
+ }): {
9602
+ readonly tag: CpfpFundingKind_Tags.Custom;
9603
+ readonly inner: Readonly<{
9604
+ scriptPubkeyHex: string;
9605
+ signedInputWeight: bigint;
9606
+ }>;
9607
+ /**
9608
+ * @private
9609
+ * This field is private and should not be used, use `tag` instead.
9610
+ */
9611
+ readonly [uniffiTypeNameSymbol]: "CpfpFundingKind";
9612
+ };
9613
+ "new"(inner: {
9614
+ scriptPubkeyHex: string;
9615
+ signedInputWeight: bigint;
9616
+ }): {
9617
+ readonly tag: CpfpFundingKind_Tags.Custom;
9618
+ readonly inner: Readonly<{
9619
+ scriptPubkeyHex: string;
9620
+ signedInputWeight: bigint;
9621
+ }>;
9622
+ /**
9623
+ * @private
9624
+ * This field is private and should not be used, use `tag` instead.
9625
+ */
9626
+ readonly [uniffiTypeNameSymbol]: "CpfpFundingKind";
9627
+ };
9628
+ instanceOf(obj: any): obj is {
9629
+ readonly tag: CpfpFundingKind_Tags.Custom;
9630
+ readonly inner: Readonly<{
9631
+ scriptPubkeyHex: string;
9632
+ signedInputWeight: bigint;
9633
+ }>;
9634
+ /**
9635
+ * @private
9636
+ * This field is private and should not be used, use `tag` instead.
9637
+ */
9638
+ readonly [uniffiTypeNameSymbol]: "CpfpFundingKind";
9639
+ };
9640
+ };
9641
+ }>;
9642
+ /**
9643
+ * The kind of UTXO that will fund an exit's fees.
9644
+ */
9645
+ export type CpfpFundingKind = InstanceType<(typeof CpfpFundingKind)[keyof Omit<typeof CpfpFundingKind, 'instanceOf'>]>;
9646
+ export declare enum CpfpInput_Tags {
9647
+ P2wpkh = "P2wpkh",
9648
+ P2tr = "P2tr",
9649
+ Custom = "Custom"
9650
+ }
9651
+ /**
9652
+ * A funding UTXO that pays the on-chain fees of a unilateral exit.
9653
+ */
9654
+ export declare const CpfpInput: Readonly<{
9655
+ instanceOf: (obj: any) => obj is CpfpInput;
9656
+ P2wpkh: {
9657
+ new (inner: {
9658
+ txid: string;
9659
+ vout: number;
9660
+ value: bigint;
9661
+ pubkey: string;
9662
+ }): {
9663
+ readonly tag: CpfpInput_Tags.P2wpkh;
9664
+ readonly inner: Readonly<{
9665
+ txid: string;
9666
+ vout: number;
9667
+ value: bigint;
9668
+ pubkey: string;
9669
+ }>;
9670
+ /**
9671
+ * @private
9672
+ * This field is private and should not be used, use `tag` instead.
9673
+ */
9674
+ readonly [uniffiTypeNameSymbol]: "CpfpInput";
9675
+ };
9676
+ "new"(inner: {
9677
+ txid: string;
9678
+ vout: number;
9679
+ value: bigint;
9680
+ pubkey: string;
9681
+ }): {
9682
+ readonly tag: CpfpInput_Tags.P2wpkh;
9683
+ readonly inner: Readonly<{
9684
+ txid: string;
9685
+ vout: number;
9686
+ value: bigint;
9687
+ pubkey: string;
9688
+ }>;
9689
+ /**
9690
+ * @private
9691
+ * This field is private and should not be used, use `tag` instead.
9692
+ */
9693
+ readonly [uniffiTypeNameSymbol]: "CpfpInput";
9694
+ };
9695
+ instanceOf(obj: any): obj is {
9696
+ readonly tag: CpfpInput_Tags.P2wpkh;
9697
+ readonly inner: Readonly<{
9698
+ txid: string;
9699
+ vout: number;
9700
+ value: bigint;
9701
+ pubkey: string;
9702
+ }>;
9703
+ /**
9704
+ * @private
9705
+ * This field is private and should not be used, use `tag` instead.
9706
+ */
9707
+ readonly [uniffiTypeNameSymbol]: "CpfpInput";
9708
+ };
9709
+ };
9710
+ P2tr: {
9711
+ new (inner: {
9712
+ txid: string;
9713
+ vout: number;
9714
+ value: bigint;
9715
+ pubkey: string;
9716
+ }): {
9717
+ readonly tag: CpfpInput_Tags.P2tr;
9718
+ readonly inner: Readonly<{
9719
+ txid: string;
9720
+ vout: number;
9721
+ value: bigint;
9722
+ pubkey: string;
9723
+ }>;
8759
9724
  /**
8760
9725
  * @private
8761
9726
  * This field is private and should not be used, use `tag` instead.
8762
9727
  */
8763
- readonly [uniffiTypeNameSymbol]: "ConversionType";
9728
+ readonly [uniffiTypeNameSymbol]: "CpfpInput";
8764
9729
  };
8765
- "new"(): {
8766
- readonly tag: ConversionType_Tags.FromBitcoin;
9730
+ "new"(inner: {
9731
+ txid: string;
9732
+ vout: number;
9733
+ value: bigint;
9734
+ pubkey: string;
9735
+ }): {
9736
+ readonly tag: CpfpInput_Tags.P2tr;
9737
+ readonly inner: Readonly<{
9738
+ txid: string;
9739
+ vout: number;
9740
+ value: bigint;
9741
+ pubkey: string;
9742
+ }>;
8767
9743
  /**
8768
9744
  * @private
8769
9745
  * This field is private and should not be used, use `tag` instead.
8770
9746
  */
8771
- readonly [uniffiTypeNameSymbol]: "ConversionType";
9747
+ readonly [uniffiTypeNameSymbol]: "CpfpInput";
8772
9748
  };
8773
9749
  instanceOf(obj: any): obj is {
8774
- readonly tag: ConversionType_Tags.FromBitcoin;
9750
+ readonly tag: CpfpInput_Tags.P2tr;
9751
+ readonly inner: Readonly<{
9752
+ txid: string;
9753
+ vout: number;
9754
+ value: bigint;
9755
+ pubkey: string;
9756
+ }>;
8775
9757
  /**
8776
9758
  * @private
8777
9759
  * This field is private and should not be used, use `tag` instead.
8778
9760
  */
8779
- readonly [uniffiTypeNameSymbol]: "ConversionType";
9761
+ readonly [uniffiTypeNameSymbol]: "CpfpInput";
8780
9762
  };
8781
9763
  };
8782
- ToBitcoin: {
9764
+ Custom: {
8783
9765
  new (inner: {
8784
- fromTokenIdentifier: string;
9766
+ txid: string;
9767
+ vout: number;
9768
+ value: bigint;
9769
+ scriptPubkeyHex: string;
9770
+ signedInputWeight: bigint;
8785
9771
  }): {
8786
- readonly tag: ConversionType_Tags.ToBitcoin;
9772
+ readonly tag: CpfpInput_Tags.Custom;
8787
9773
  readonly inner: Readonly<{
8788
- fromTokenIdentifier: string;
9774
+ txid: string;
9775
+ vout: number;
9776
+ value: bigint;
9777
+ scriptPubkeyHex: string;
9778
+ signedInputWeight: bigint;
8789
9779
  }>;
8790
9780
  /**
8791
9781
  * @private
8792
9782
  * This field is private and should not be used, use `tag` instead.
8793
9783
  */
8794
- readonly [uniffiTypeNameSymbol]: "ConversionType";
9784
+ readonly [uniffiTypeNameSymbol]: "CpfpInput";
8795
9785
  };
8796
9786
  "new"(inner: {
8797
- fromTokenIdentifier: string;
9787
+ txid: string;
9788
+ vout: number;
9789
+ value: bigint;
9790
+ scriptPubkeyHex: string;
9791
+ signedInputWeight: bigint;
8798
9792
  }): {
8799
- readonly tag: ConversionType_Tags.ToBitcoin;
9793
+ readonly tag: CpfpInput_Tags.Custom;
8800
9794
  readonly inner: Readonly<{
8801
- fromTokenIdentifier: string;
9795
+ txid: string;
9796
+ vout: number;
9797
+ value: bigint;
9798
+ scriptPubkeyHex: string;
9799
+ signedInputWeight: bigint;
8802
9800
  }>;
8803
9801
  /**
8804
9802
  * @private
8805
9803
  * This field is private and should not be used, use `tag` instead.
8806
9804
  */
8807
- readonly [uniffiTypeNameSymbol]: "ConversionType";
9805
+ readonly [uniffiTypeNameSymbol]: "CpfpInput";
8808
9806
  };
8809
9807
  instanceOf(obj: any): obj is {
8810
- readonly tag: ConversionType_Tags.ToBitcoin;
9808
+ readonly tag: CpfpInput_Tags.Custom;
8811
9809
  readonly inner: Readonly<{
8812
- fromTokenIdentifier: string;
9810
+ txid: string;
9811
+ vout: number;
9812
+ value: bigint;
9813
+ scriptPubkeyHex: string;
9814
+ signedInputWeight: bigint;
8813
9815
  }>;
8814
9816
  /**
8815
9817
  * @private
8816
9818
  * This field is private and should not be used, use `tag` instead.
8817
9819
  */
8818
- readonly [uniffiTypeNameSymbol]: "ConversionType";
9820
+ readonly [uniffiTypeNameSymbol]: "CpfpInput";
8819
9821
  };
8820
9822
  };
8821
9823
  }>;
8822
- export type ConversionType = InstanceType<(typeof ConversionType)[keyof Omit<typeof ConversionType, 'instanceOf'>]>;
9824
+ /**
9825
+ * A funding UTXO that pays the on-chain fees of a unilateral exit.
9826
+ */
9827
+ export type CpfpInput = InstanceType<(typeof CpfpInput)[keyof Omit<typeof CpfpInput, 'instanceOf'>]>;
8823
9828
  export declare enum CrossChainAddressFamily {
8824
9829
  Evm = 0,
8825
9830
  Solana = 1,
@@ -9412,6 +10417,85 @@ export declare enum ErrorKind {
9412
10417
  */
9413
10418
  Internal = 8
9414
10419
  }
10420
+ export declare enum ExitLeafSelection_Tags {
10421
+ Auto = "Auto",
10422
+ Specific = "Specific"
10423
+ }
10424
+ /**
10425
+ * Which leaves to exit.
10426
+ */
10427
+ export declare const ExitLeafSelection: Readonly<{
10428
+ instanceOf: (obj: any) => obj is ExitLeafSelection;
10429
+ Auto: {
10430
+ new (): {
10431
+ readonly tag: ExitLeafSelection_Tags.Auto;
10432
+ /**
10433
+ * @private
10434
+ * This field is private and should not be used, use `tag` instead.
10435
+ */
10436
+ readonly [uniffiTypeNameSymbol]: "ExitLeafSelection";
10437
+ };
10438
+ "new"(): {
10439
+ readonly tag: ExitLeafSelection_Tags.Auto;
10440
+ /**
10441
+ * @private
10442
+ * This field is private and should not be used, use `tag` instead.
10443
+ */
10444
+ readonly [uniffiTypeNameSymbol]: "ExitLeafSelection";
10445
+ };
10446
+ instanceOf(obj: any): obj is {
10447
+ readonly tag: ExitLeafSelection_Tags.Auto;
10448
+ /**
10449
+ * @private
10450
+ * This field is private and should not be used, use `tag` instead.
10451
+ */
10452
+ readonly [uniffiTypeNameSymbol]: "ExitLeafSelection";
10453
+ };
10454
+ };
10455
+ Specific: {
10456
+ new (inner: {
10457
+ leafIds: Array<string>;
10458
+ }): {
10459
+ readonly tag: ExitLeafSelection_Tags.Specific;
10460
+ readonly inner: Readonly<{
10461
+ leafIds: Array<string>;
10462
+ }>;
10463
+ /**
10464
+ * @private
10465
+ * This field is private and should not be used, use `tag` instead.
10466
+ */
10467
+ readonly [uniffiTypeNameSymbol]: "ExitLeafSelection";
10468
+ };
10469
+ "new"(inner: {
10470
+ leafIds: Array<string>;
10471
+ }): {
10472
+ readonly tag: ExitLeafSelection_Tags.Specific;
10473
+ readonly inner: Readonly<{
10474
+ leafIds: Array<string>;
10475
+ }>;
10476
+ /**
10477
+ * @private
10478
+ * This field is private and should not be used, use `tag` instead.
10479
+ */
10480
+ readonly [uniffiTypeNameSymbol]: "ExitLeafSelection";
10481
+ };
10482
+ instanceOf(obj: any): obj is {
10483
+ readonly tag: ExitLeafSelection_Tags.Specific;
10484
+ readonly inner: Readonly<{
10485
+ leafIds: Array<string>;
10486
+ }>;
10487
+ /**
10488
+ * @private
10489
+ * This field is private and should not be used, use `tag` instead.
10490
+ */
10491
+ readonly [uniffiTypeNameSymbol]: "ExitLeafSelection";
10492
+ };
10493
+ };
10494
+ }>;
10495
+ /**
10496
+ * Which leaves to exit.
10497
+ */
10498
+ export type ExitLeafSelection = InstanceType<(typeof ExitLeafSelection)[keyof Omit<typeof ExitLeafSelection, 'instanceOf'>]>;
9415
10499
  export declare enum ExternalFrostDerivation_Tags {
9416
10500
  SigningLeaf = "SigningLeaf",
9417
10501
  StaticDeposit = "StaticDeposit",
@@ -10488,6 +11572,95 @@ export declare const OptimizationOutcome: Readonly<{
10488
11572
  * ```
10489
11573
  */
10490
11574
  export type OptimizationOutcome = InstanceType<(typeof OptimizationOutcome)[keyof Omit<typeof OptimizationOutcome, 'instanceOf'>]>;
11575
+ export declare enum Outspend_Tags {
11576
+ Unspent = "Unspent",
11577
+ Spent = "Spent"
11578
+ }
11579
+ /**
11580
+ * The spend status of a transaction output.
11581
+ */
11582
+ export declare const Outspend: Readonly<{
11583
+ instanceOf: (obj: any) => obj is Outspend;
11584
+ Unspent: {
11585
+ new (): {
11586
+ readonly tag: Outspend_Tags.Unspent;
11587
+ /**
11588
+ * @private
11589
+ * This field is private and should not be used, use `tag` instead.
11590
+ */
11591
+ readonly [uniffiTypeNameSymbol]: "Outspend";
11592
+ };
11593
+ "new"(): {
11594
+ readonly tag: Outspend_Tags.Unspent;
11595
+ /**
11596
+ * @private
11597
+ * This field is private and should not be used, use `tag` instead.
11598
+ */
11599
+ readonly [uniffiTypeNameSymbol]: "Outspend";
11600
+ };
11601
+ instanceOf(obj: any): obj is {
11602
+ readonly tag: Outspend_Tags.Unspent;
11603
+ /**
11604
+ * @private
11605
+ * This field is private and should not be used, use `tag` instead.
11606
+ */
11607
+ readonly [uniffiTypeNameSymbol]: "Outspend";
11608
+ };
11609
+ };
11610
+ Spent: {
11611
+ new (inner: {
11612
+ txid: string;
11613
+ vin: number;
11614
+ status: TxStatus;
11615
+ }): {
11616
+ readonly tag: Outspend_Tags.Spent;
11617
+ readonly inner: Readonly<{
11618
+ txid: string;
11619
+ vin: number;
11620
+ status: TxStatus;
11621
+ }>;
11622
+ /**
11623
+ * @private
11624
+ * This field is private and should not be used, use `tag` instead.
11625
+ */
11626
+ readonly [uniffiTypeNameSymbol]: "Outspend";
11627
+ };
11628
+ "new"(inner: {
11629
+ txid: string;
11630
+ vin: number;
11631
+ status: TxStatus;
11632
+ }): {
11633
+ readonly tag: Outspend_Tags.Spent;
11634
+ readonly inner: Readonly<{
11635
+ txid: string;
11636
+ vin: number;
11637
+ status: TxStatus;
11638
+ }>;
11639
+ /**
11640
+ * @private
11641
+ * This field is private and should not be used, use `tag` instead.
11642
+ */
11643
+ readonly [uniffiTypeNameSymbol]: "Outspend";
11644
+ };
11645
+ instanceOf(obj: any): obj is {
11646
+ readonly tag: Outspend_Tags.Spent;
11647
+ readonly inner: Readonly<{
11648
+ txid: string;
11649
+ vin: number;
11650
+ status: TxStatus;
11651
+ }>;
11652
+ /**
11653
+ * @private
11654
+ * This field is private and should not be used, use `tag` instead.
11655
+ */
11656
+ readonly [uniffiTypeNameSymbol]: "Outspend";
11657
+ };
11658
+ };
11659
+ }>;
11660
+ /**
11661
+ * The spend status of a transaction output.
11662
+ */
11663
+ export type Outspend = InstanceType<(typeof Outspend)[keyof Omit<typeof Outspend, 'instanceOf'>]>;
10491
11664
  export declare enum PasskeyAvailability_Tags {
10492
11665
  Available = "Available",
10493
11666
  PrfUnsupported = "PrfUnsupported",
@@ -10654,6 +11827,7 @@ export declare enum PasskeyError_Tags {
10654
11827
  InvalidPrfOutput = "InvalidPrfOutput",
10655
11828
  MnemonicError = "MnemonicError",
10656
11829
  InvalidSalt = "InvalidSalt",
11830
+ CreatedButNotDerived = "CreatedButNotDerived",
10657
11831
  Generic = "Generic"
10658
11832
  }
10659
11833
  /**
@@ -11057,7 +12231,78 @@ export declare const PasskeyError: Readonly<{
11057
12231
  cause?: unknown;
11058
12232
  };
11059
12233
  hasInner(obj: any): obj is {
11060
- readonly tag: PasskeyError_Tags.InvalidPrfOutput;
12234
+ readonly tag: PasskeyError_Tags.InvalidPrfOutput;
12235
+ readonly inner: Readonly<[string]>;
12236
+ /**
12237
+ * @private
12238
+ * This field is private and should not be used, use `tag` instead.
12239
+ */
12240
+ readonly [uniffiTypeNameSymbol]: "PasskeyError";
12241
+ name: string;
12242
+ message: string;
12243
+ stack?: string;
12244
+ cause?: unknown;
12245
+ };
12246
+ getInner(obj: {
12247
+ readonly tag: PasskeyError_Tags.InvalidPrfOutput;
12248
+ readonly inner: Readonly<[string]>;
12249
+ /**
12250
+ * @private
12251
+ * This field is private and should not be used, use `tag` instead.
12252
+ */
12253
+ readonly [uniffiTypeNameSymbol]: "PasskeyError";
12254
+ name: string;
12255
+ message: string;
12256
+ stack?: string;
12257
+ cause?: unknown;
12258
+ }): Readonly<[string]>;
12259
+ isError(error: unknown): error is Error;
12260
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
12261
+ prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
12262
+ stackTraceLimit: number;
12263
+ };
12264
+ MnemonicError: {
12265
+ new (v0: string): {
12266
+ readonly tag: PasskeyError_Tags.MnemonicError;
12267
+ readonly inner: Readonly<[string]>;
12268
+ /**
12269
+ * @private
12270
+ * This field is private and should not be used, use `tag` instead.
12271
+ */
12272
+ readonly [uniffiTypeNameSymbol]: "PasskeyError";
12273
+ name: string;
12274
+ message: string;
12275
+ stack?: string;
12276
+ cause?: unknown;
12277
+ };
12278
+ "new"(v0: string): {
12279
+ readonly tag: PasskeyError_Tags.MnemonicError;
12280
+ readonly inner: Readonly<[string]>;
12281
+ /**
12282
+ * @private
12283
+ * This field is private and should not be used, use `tag` instead.
12284
+ */
12285
+ readonly [uniffiTypeNameSymbol]: "PasskeyError";
12286
+ name: string;
12287
+ message: string;
12288
+ stack?: string;
12289
+ cause?: unknown;
12290
+ };
12291
+ instanceOf(obj: any): obj is {
12292
+ readonly tag: PasskeyError_Tags.MnemonicError;
12293
+ readonly inner: Readonly<[string]>;
12294
+ /**
12295
+ * @private
12296
+ * This field is private and should not be used, use `tag` instead.
12297
+ */
12298
+ readonly [uniffiTypeNameSymbol]: "PasskeyError";
12299
+ name: string;
12300
+ message: string;
12301
+ stack?: string;
12302
+ cause?: unknown;
12303
+ };
12304
+ hasInner(obj: any): obj is {
12305
+ readonly tag: PasskeyError_Tags.MnemonicError;
11061
12306
  readonly inner: Readonly<[string]>;
11062
12307
  /**
11063
12308
  * @private
@@ -11070,7 +12315,7 @@ export declare const PasskeyError: Readonly<{
11070
12315
  cause?: unknown;
11071
12316
  };
11072
12317
  getInner(obj: {
11073
- readonly tag: PasskeyError_Tags.InvalidPrfOutput;
12318
+ readonly tag: PasskeyError_Tags.MnemonicError;
11074
12319
  readonly inner: Readonly<[string]>;
11075
12320
  /**
11076
12321
  * @private
@@ -11087,9 +12332,9 @@ export declare const PasskeyError: Readonly<{
11087
12332
  prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
11088
12333
  stackTraceLimit: number;
11089
12334
  };
11090
- MnemonicError: {
12335
+ InvalidSalt: {
11091
12336
  new (v0: string): {
11092
- readonly tag: PasskeyError_Tags.MnemonicError;
12337
+ readonly tag: PasskeyError_Tags.InvalidSalt;
11093
12338
  readonly inner: Readonly<[string]>;
11094
12339
  /**
11095
12340
  * @private
@@ -11102,7 +12347,7 @@ export declare const PasskeyError: Readonly<{
11102
12347
  cause?: unknown;
11103
12348
  };
11104
12349
  "new"(v0: string): {
11105
- readonly tag: PasskeyError_Tags.MnemonicError;
12350
+ readonly tag: PasskeyError_Tags.InvalidSalt;
11106
12351
  readonly inner: Readonly<[string]>;
11107
12352
  /**
11108
12353
  * @private
@@ -11115,7 +12360,7 @@ export declare const PasskeyError: Readonly<{
11115
12360
  cause?: unknown;
11116
12361
  };
11117
12362
  instanceOf(obj: any): obj is {
11118
- readonly tag: PasskeyError_Tags.MnemonicError;
12363
+ readonly tag: PasskeyError_Tags.InvalidSalt;
11119
12364
  readonly inner: Readonly<[string]>;
11120
12365
  /**
11121
12366
  * @private
@@ -11128,7 +12373,7 @@ export declare const PasskeyError: Readonly<{
11128
12373
  cause?: unknown;
11129
12374
  };
11130
12375
  hasInner(obj: any): obj is {
11131
- readonly tag: PasskeyError_Tags.MnemonicError;
12376
+ readonly tag: PasskeyError_Tags.InvalidSalt;
11132
12377
  readonly inner: Readonly<[string]>;
11133
12378
  /**
11134
12379
  * @private
@@ -11141,7 +12386,7 @@ export declare const PasskeyError: Readonly<{
11141
12386
  cause?: unknown;
11142
12387
  };
11143
12388
  getInner(obj: {
11144
- readonly tag: PasskeyError_Tags.MnemonicError;
12389
+ readonly tag: PasskeyError_Tags.InvalidSalt;
11145
12390
  readonly inner: Readonly<[string]>;
11146
12391
  /**
11147
12392
  * @private
@@ -11158,10 +12403,16 @@ export declare const PasskeyError: Readonly<{
11158
12403
  prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
11159
12404
  stackTraceLimit: number;
11160
12405
  };
11161
- InvalidSalt: {
11162
- new (v0: string): {
11163
- readonly tag: PasskeyError_Tags.InvalidSalt;
11164
- readonly inner: Readonly<[string]>;
12406
+ CreatedButNotDerived: {
12407
+ new (inner: {
12408
+ credentialId: ArrayBuffer;
12409
+ source: PrfProviderError;
12410
+ }): {
12411
+ readonly tag: PasskeyError_Tags.CreatedButNotDerived;
12412
+ readonly inner: Readonly<{
12413
+ credentialId: ArrayBuffer;
12414
+ source: PrfProviderError;
12415
+ }>;
11165
12416
  /**
11166
12417
  * @private
11167
12418
  * This field is private and should not be used, use `tag` instead.
@@ -11172,9 +12423,15 @@ export declare const PasskeyError: Readonly<{
11172
12423
  stack?: string;
11173
12424
  cause?: unknown;
11174
12425
  };
11175
- "new"(v0: string): {
11176
- readonly tag: PasskeyError_Tags.InvalidSalt;
11177
- readonly inner: Readonly<[string]>;
12426
+ "new"(inner: {
12427
+ credentialId: ArrayBuffer;
12428
+ source: PrfProviderError;
12429
+ }): {
12430
+ readonly tag: PasskeyError_Tags.CreatedButNotDerived;
12431
+ readonly inner: Readonly<{
12432
+ credentialId: ArrayBuffer;
12433
+ source: PrfProviderError;
12434
+ }>;
11178
12435
  /**
11179
12436
  * @private
11180
12437
  * This field is private and should not be used, use `tag` instead.
@@ -11186,8 +12443,11 @@ export declare const PasskeyError: Readonly<{
11186
12443
  cause?: unknown;
11187
12444
  };
11188
12445
  instanceOf(obj: any): obj is {
11189
- readonly tag: PasskeyError_Tags.InvalidSalt;
11190
- readonly inner: Readonly<[string]>;
12446
+ readonly tag: PasskeyError_Tags.CreatedButNotDerived;
12447
+ readonly inner: Readonly<{
12448
+ credentialId: ArrayBuffer;
12449
+ source: PrfProviderError;
12450
+ }>;
11191
12451
  /**
11192
12452
  * @private
11193
12453
  * This field is private and should not be used, use `tag` instead.
@@ -11199,8 +12459,11 @@ export declare const PasskeyError: Readonly<{
11199
12459
  cause?: unknown;
11200
12460
  };
11201
12461
  hasInner(obj: any): obj is {
11202
- readonly tag: PasskeyError_Tags.InvalidSalt;
11203
- readonly inner: Readonly<[string]>;
12462
+ readonly tag: PasskeyError_Tags.CreatedButNotDerived;
12463
+ readonly inner: Readonly<{
12464
+ credentialId: ArrayBuffer;
12465
+ source: PrfProviderError;
12466
+ }>;
11204
12467
  /**
11205
12468
  * @private
11206
12469
  * This field is private and should not be used, use `tag` instead.
@@ -11212,8 +12475,11 @@ export declare const PasskeyError: Readonly<{
11212
12475
  cause?: unknown;
11213
12476
  };
11214
12477
  getInner(obj: {
11215
- readonly tag: PasskeyError_Tags.InvalidSalt;
11216
- readonly inner: Readonly<[string]>;
12478
+ readonly tag: PasskeyError_Tags.CreatedButNotDerived;
12479
+ readonly inner: Readonly<{
12480
+ credentialId: ArrayBuffer;
12481
+ source: PrfProviderError;
12482
+ }>;
11217
12483
  /**
11218
12484
  * @private
11219
12485
  * This field is private and should not be used, use `tag` instead.
@@ -11223,7 +12489,10 @@ export declare const PasskeyError: Readonly<{
11223
12489
  message: string;
11224
12490
  stack?: string;
11225
12491
  cause?: unknown;
11226
- }): Readonly<[string]>;
12492
+ }): Readonly<{
12493
+ credentialId: ArrayBuffer;
12494
+ source: PrfProviderError;
12495
+ }>;
11227
12496
  isError(error: unknown): error is Error;
11228
12497
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
11229
12498
  prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
@@ -13008,7 +14277,8 @@ export declare const PublishSignedLnurlPayResponse: Readonly<{
13008
14277
  export type PublishSignedLnurlPayResponse = InstanceType<(typeof PublishSignedLnurlPayResponse)[keyof Omit<typeof PublishSignedLnurlPayResponse, 'instanceOf'>]>;
13009
14278
  export declare enum PublishSignedTransferPackageResponse_Tags {
13010
14279
  SwapCompleted = "SwapCompleted",
13011
- PaymentSent = "PaymentSent"
14280
+ PaymentSent = "PaymentSent",
14281
+ PaymentsSent = "PaymentsSent"
13012
14282
  }
13013
14283
  export declare const PublishSignedTransferPackageResponse: Readonly<{
13014
14284
  instanceOf: (obj: any) => obj is PublishSignedTransferPackageResponse;
@@ -13077,6 +14347,45 @@ export declare const PublishSignedTransferPackageResponse: Readonly<{
13077
14347
  readonly [uniffiTypeNameSymbol]: "PublishSignedTransferPackageResponse";
13078
14348
  };
13079
14349
  };
14350
+ PaymentsSent: {
14351
+ new (inner: {
14352
+ payments: Array<Payment>;
14353
+ }): {
14354
+ readonly tag: PublishSignedTransferPackageResponse_Tags.PaymentsSent;
14355
+ readonly inner: Readonly<{
14356
+ payments: Array<Payment>;
14357
+ }>;
14358
+ /**
14359
+ * @private
14360
+ * This field is private and should not be used, use `tag` instead.
14361
+ */
14362
+ readonly [uniffiTypeNameSymbol]: "PublishSignedTransferPackageResponse";
14363
+ };
14364
+ "new"(inner: {
14365
+ payments: Array<Payment>;
14366
+ }): {
14367
+ readonly tag: PublishSignedTransferPackageResponse_Tags.PaymentsSent;
14368
+ readonly inner: Readonly<{
14369
+ payments: Array<Payment>;
14370
+ }>;
14371
+ /**
14372
+ * @private
14373
+ * This field is private and should not be used, use `tag` instead.
14374
+ */
14375
+ readonly [uniffiTypeNameSymbol]: "PublishSignedTransferPackageResponse";
14376
+ };
14377
+ instanceOf(obj: any): obj is {
14378
+ readonly tag: PublishSignedTransferPackageResponse_Tags.PaymentsSent;
14379
+ readonly inner: Readonly<{
14380
+ payments: Array<Payment>;
14381
+ }>;
14382
+ /**
14383
+ * @private
14384
+ * This field is private and should not be used, use `tag` instead.
14385
+ */
14386
+ readonly [uniffiTypeNameSymbol]: "PublishSignedTransferPackageResponse";
14387
+ };
14388
+ };
13080
14389
  }>;
13081
14390
  export type PublishSignedTransferPackageResponse = InstanceType<(typeof PublishSignedTransferPackageResponse)[keyof Omit<typeof PublishSignedTransferPackageResponse, 'instanceOf'>]>;
13082
14391
  export declare enum ReceivePaymentMethod_Tags {
@@ -13323,6 +14632,8 @@ export declare enum SdkError_Tags {
13323
14632
  Signer = "Signer",
13324
14633
  OptimizationAlreadyRunning = "OptimizationAlreadyRunning",
13325
14634
  OptimizationCancelled = "OptimizationCancelled",
14635
+ InsufficientCpfpFunds = "InsufficientCpfpFunds",
14636
+ FundingUtxoConflict = "FundingUtxoConflict",
13326
14637
  Generic = "Generic"
13327
14638
  }
13328
14639
  /**
@@ -13402,8 +14713,16 @@ export declare const SdkError: Readonly<{
13402
14713
  stackTraceLimit: number;
13403
14714
  };
13404
14715
  InsufficientFunds: {
13405
- new (): {
14716
+ new (inner: {
14717
+ /**
14718
+ * The token that cannot cover the payment. Unset when the shortfall is
14719
+ * in sats or when no single token can be named.
14720
+ */ tokenIdentifier: string | undefined;
14721
+ }): {
13406
14722
  readonly tag: SdkError_Tags.InsufficientFunds;
14723
+ readonly inner: Readonly<{
14724
+ tokenIdentifier: string | undefined;
14725
+ }>;
13407
14726
  /**
13408
14727
  * @private
13409
14728
  * This field is private and should not be used, use `tag` instead.
@@ -13414,8 +14733,16 @@ export declare const SdkError: Readonly<{
13414
14733
  stack?: string;
13415
14734
  cause?: unknown;
13416
14735
  };
13417
- "new"(): {
14736
+ "new"(inner: {
14737
+ /**
14738
+ * The token that cannot cover the payment. Unset when the shortfall is
14739
+ * in sats or when no single token can be named.
14740
+ */ tokenIdentifier: string | undefined;
14741
+ }): {
13418
14742
  readonly tag: SdkError_Tags.InsufficientFunds;
14743
+ readonly inner: Readonly<{
14744
+ tokenIdentifier: string | undefined;
14745
+ }>;
13419
14746
  /**
13420
14747
  * @private
13421
14748
  * This field is private and should not be used, use `tag` instead.
@@ -13428,6 +14755,9 @@ export declare const SdkError: Readonly<{
13428
14755
  };
13429
14756
  instanceOf(obj: any): obj is {
13430
14757
  readonly tag: SdkError_Tags.InsufficientFunds;
14758
+ readonly inner: Readonly<{
14759
+ tokenIdentifier: string | undefined;
14760
+ }>;
13431
14761
  /**
13432
14762
  * @private
13433
14763
  * This field is private and should not be used, use `tag` instead.
@@ -13440,6 +14770,9 @@ export declare const SdkError: Readonly<{
13440
14770
  };
13441
14771
  hasInner(obj: any): obj is {
13442
14772
  readonly tag: SdkError_Tags.InsufficientFunds;
14773
+ readonly inner: Readonly<{
14774
+ tokenIdentifier: string | undefined;
14775
+ }>;
13443
14776
  /**
13444
14777
  * @private
13445
14778
  * This field is private and should not be used, use `tag` instead.
@@ -13450,6 +14783,23 @@ export declare const SdkError: Readonly<{
13450
14783
  stack?: string;
13451
14784
  cause?: unknown;
13452
14785
  };
14786
+ getInner(obj: {
14787
+ readonly tag: SdkError_Tags.InsufficientFunds;
14788
+ readonly inner: Readonly<{
14789
+ tokenIdentifier: string | undefined;
14790
+ }>;
14791
+ /**
14792
+ * @private
14793
+ * This field is private and should not be used, use `tag` instead.
14794
+ */
14795
+ readonly [uniffiTypeNameSymbol]: "SdkError";
14796
+ name: string;
14797
+ message: string;
14798
+ stack?: string;
14799
+ cause?: unknown;
14800
+ }): Readonly<{
14801
+ tokenIdentifier: string | undefined;
14802
+ }>;
13453
14803
  isError(error: unknown): error is Error;
13454
14804
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
13455
14805
  prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
@@ -14233,8 +15583,179 @@ export declare const SdkError: Readonly<{
14233
15583
  stack?: string;
14234
15584
  cause?: unknown;
14235
15585
  };
14236
- "new"(): {
14237
- readonly tag: SdkError_Tags.OptimizationCancelled;
15586
+ "new"(): {
15587
+ readonly tag: SdkError_Tags.OptimizationCancelled;
15588
+ /**
15589
+ * @private
15590
+ * This field is private and should not be used, use `tag` instead.
15591
+ */
15592
+ readonly [uniffiTypeNameSymbol]: "SdkError";
15593
+ name: string;
15594
+ message: string;
15595
+ stack?: string;
15596
+ cause?: unknown;
15597
+ };
15598
+ instanceOf(obj: any): obj is {
15599
+ readonly tag: SdkError_Tags.OptimizationCancelled;
15600
+ /**
15601
+ * @private
15602
+ * This field is private and should not be used, use `tag` instead.
15603
+ */
15604
+ readonly [uniffiTypeNameSymbol]: "SdkError";
15605
+ name: string;
15606
+ message: string;
15607
+ stack?: string;
15608
+ cause?: unknown;
15609
+ };
15610
+ hasInner(obj: any): obj is {
15611
+ readonly tag: SdkError_Tags.OptimizationCancelled;
15612
+ /**
15613
+ * @private
15614
+ * This field is private and should not be used, use `tag` instead.
15615
+ */
15616
+ readonly [uniffiTypeNameSymbol]: "SdkError";
15617
+ name: string;
15618
+ message: string;
15619
+ stack?: string;
15620
+ cause?: unknown;
15621
+ };
15622
+ isError(error: unknown): error is Error;
15623
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
15624
+ prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
15625
+ stackTraceLimit: number;
15626
+ };
15627
+ InsufficientCpfpFunds: {
15628
+ new (inner: {
15629
+ requiredSat: bigint;
15630
+ }): {
15631
+ readonly tag: SdkError_Tags.InsufficientCpfpFunds;
15632
+ readonly inner: Readonly<{
15633
+ requiredSat: bigint;
15634
+ }>;
15635
+ /**
15636
+ * @private
15637
+ * This field is private and should not be used, use `tag` instead.
15638
+ */
15639
+ readonly [uniffiTypeNameSymbol]: "SdkError";
15640
+ name: string;
15641
+ message: string;
15642
+ stack?: string;
15643
+ cause?: unknown;
15644
+ };
15645
+ "new"(inner: {
15646
+ requiredSat: bigint;
15647
+ }): {
15648
+ readonly tag: SdkError_Tags.InsufficientCpfpFunds;
15649
+ readonly inner: Readonly<{
15650
+ requiredSat: bigint;
15651
+ }>;
15652
+ /**
15653
+ * @private
15654
+ * This field is private and should not be used, use `tag` instead.
15655
+ */
15656
+ readonly [uniffiTypeNameSymbol]: "SdkError";
15657
+ name: string;
15658
+ message: string;
15659
+ stack?: string;
15660
+ cause?: unknown;
15661
+ };
15662
+ instanceOf(obj: any): obj is {
15663
+ readonly tag: SdkError_Tags.InsufficientCpfpFunds;
15664
+ readonly inner: Readonly<{
15665
+ requiredSat: bigint;
15666
+ }>;
15667
+ /**
15668
+ * @private
15669
+ * This field is private and should not be used, use `tag` instead.
15670
+ */
15671
+ readonly [uniffiTypeNameSymbol]: "SdkError";
15672
+ name: string;
15673
+ message: string;
15674
+ stack?: string;
15675
+ cause?: unknown;
15676
+ };
15677
+ hasInner(obj: any): obj is {
15678
+ readonly tag: SdkError_Tags.InsufficientCpfpFunds;
15679
+ readonly inner: Readonly<{
15680
+ requiredSat: bigint;
15681
+ }>;
15682
+ /**
15683
+ * @private
15684
+ * This field is private and should not be used, use `tag` instead.
15685
+ */
15686
+ readonly [uniffiTypeNameSymbol]: "SdkError";
15687
+ name: string;
15688
+ message: string;
15689
+ stack?: string;
15690
+ cause?: unknown;
15691
+ };
15692
+ getInner(obj: {
15693
+ readonly tag: SdkError_Tags.InsufficientCpfpFunds;
15694
+ readonly inner: Readonly<{
15695
+ requiredSat: bigint;
15696
+ }>;
15697
+ /**
15698
+ * @private
15699
+ * This field is private and should not be used, use `tag` instead.
15700
+ */
15701
+ readonly [uniffiTypeNameSymbol]: "SdkError";
15702
+ name: string;
15703
+ message: string;
15704
+ stack?: string;
15705
+ cause?: unknown;
15706
+ }): Readonly<{
15707
+ requiredSat: bigint;
15708
+ }>;
15709
+ isError(error: unknown): error is Error;
15710
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
15711
+ prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
15712
+ stackTraceLimit: number;
15713
+ };
15714
+ FundingUtxoConflict: {
15715
+ new (inner: {
15716
+ txid: string;
15717
+ vout: number;
15718
+ }): {
15719
+ readonly tag: SdkError_Tags.FundingUtxoConflict;
15720
+ readonly inner: Readonly<{
15721
+ txid: string;
15722
+ vout: number;
15723
+ }>;
15724
+ /**
15725
+ * @private
15726
+ * This field is private and should not be used, use `tag` instead.
15727
+ */
15728
+ readonly [uniffiTypeNameSymbol]: "SdkError";
15729
+ name: string;
15730
+ message: string;
15731
+ stack?: string;
15732
+ cause?: unknown;
15733
+ };
15734
+ "new"(inner: {
15735
+ txid: string;
15736
+ vout: number;
15737
+ }): {
15738
+ readonly tag: SdkError_Tags.FundingUtxoConflict;
15739
+ readonly inner: Readonly<{
15740
+ txid: string;
15741
+ vout: number;
15742
+ }>;
15743
+ /**
15744
+ * @private
15745
+ * This field is private and should not be used, use `tag` instead.
15746
+ */
15747
+ readonly [uniffiTypeNameSymbol]: "SdkError";
15748
+ name: string;
15749
+ message: string;
15750
+ stack?: string;
15751
+ cause?: unknown;
15752
+ };
15753
+ instanceOf(obj: any): obj is {
15754
+ readonly tag: SdkError_Tags.FundingUtxoConflict;
15755
+ readonly inner: Readonly<{
15756
+ txid: string;
15757
+ vout: number;
15758
+ }>;
14238
15759
  /**
14239
15760
  * @private
14240
15761
  * This field is private and should not be used, use `tag` instead.
@@ -14245,8 +15766,12 @@ export declare const SdkError: Readonly<{
14245
15766
  stack?: string;
14246
15767
  cause?: unknown;
14247
15768
  };
14248
- instanceOf(obj: any): obj is {
14249
- readonly tag: SdkError_Tags.OptimizationCancelled;
15769
+ hasInner(obj: any): obj is {
15770
+ readonly tag: SdkError_Tags.FundingUtxoConflict;
15771
+ readonly inner: Readonly<{
15772
+ txid: string;
15773
+ vout: number;
15774
+ }>;
14250
15775
  /**
14251
15776
  * @private
14252
15777
  * This field is private and should not be used, use `tag` instead.
@@ -14257,8 +15782,12 @@ export declare const SdkError: Readonly<{
14257
15782
  stack?: string;
14258
15783
  cause?: unknown;
14259
15784
  };
14260
- hasInner(obj: any): obj is {
14261
- readonly tag: SdkError_Tags.OptimizationCancelled;
15785
+ getInner(obj: {
15786
+ readonly tag: SdkError_Tags.FundingUtxoConflict;
15787
+ readonly inner: Readonly<{
15788
+ txid: string;
15789
+ vout: number;
15790
+ }>;
14262
15791
  /**
14263
15792
  * @private
14264
15793
  * This field is private and should not be used, use `tag` instead.
@@ -14268,7 +15797,10 @@ export declare const SdkError: Readonly<{
14268
15797
  message: string;
14269
15798
  stack?: string;
14270
15799
  cause?: unknown;
14271
- };
15800
+ }): Readonly<{
15801
+ txid: string;
15802
+ vout: number;
15803
+ }>;
14272
15804
  isError(error: unknown): error is Error;
14273
15805
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
14274
15806
  prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
@@ -16930,6 +18462,85 @@ export declare enum SparkHtlcStatus {
16930
18462
  */
16931
18463
  Returned = 2
16932
18464
  }
18465
+ export declare enum SparkMasterIdentityPublicKey_Tags {
18466
+ Set = "Set",
18467
+ Unset = "Unset"
18468
+ }
18469
+ /**
18470
+ * Specifies how to update the wallet's Spark master identity public key.
18471
+ */
18472
+ export declare const SparkMasterIdentityPublicKey: Readonly<{
18473
+ instanceOf: (obj: any) => obj is SparkMasterIdentityPublicKey;
18474
+ Set: {
18475
+ new (inner: {
18476
+ publicKey: string;
18477
+ }): {
18478
+ readonly tag: SparkMasterIdentityPublicKey_Tags.Set;
18479
+ readonly inner: Readonly<{
18480
+ publicKey: string;
18481
+ }>;
18482
+ /**
18483
+ * @private
18484
+ * This field is private and should not be used, use `tag` instead.
18485
+ */
18486
+ readonly [uniffiTypeNameSymbol]: "SparkMasterIdentityPublicKey";
18487
+ };
18488
+ "new"(inner: {
18489
+ publicKey: string;
18490
+ }): {
18491
+ readonly tag: SparkMasterIdentityPublicKey_Tags.Set;
18492
+ readonly inner: Readonly<{
18493
+ publicKey: string;
18494
+ }>;
18495
+ /**
18496
+ * @private
18497
+ * This field is private and should not be used, use `tag` instead.
18498
+ */
18499
+ readonly [uniffiTypeNameSymbol]: "SparkMasterIdentityPublicKey";
18500
+ };
18501
+ instanceOf(obj: any): obj is {
18502
+ readonly tag: SparkMasterIdentityPublicKey_Tags.Set;
18503
+ readonly inner: Readonly<{
18504
+ publicKey: string;
18505
+ }>;
18506
+ /**
18507
+ * @private
18508
+ * This field is private and should not be used, use `tag` instead.
18509
+ */
18510
+ readonly [uniffiTypeNameSymbol]: "SparkMasterIdentityPublicKey";
18511
+ };
18512
+ };
18513
+ Unset: {
18514
+ new (): {
18515
+ readonly tag: SparkMasterIdentityPublicKey_Tags.Unset;
18516
+ /**
18517
+ * @private
18518
+ * This field is private and should not be used, use `tag` instead.
18519
+ */
18520
+ readonly [uniffiTypeNameSymbol]: "SparkMasterIdentityPublicKey";
18521
+ };
18522
+ "new"(): {
18523
+ readonly tag: SparkMasterIdentityPublicKey_Tags.Unset;
18524
+ /**
18525
+ * @private
18526
+ * This field is private and should not be used, use `tag` instead.
18527
+ */
18528
+ readonly [uniffiTypeNameSymbol]: "SparkMasterIdentityPublicKey";
18529
+ };
18530
+ instanceOf(obj: any): obj is {
18531
+ readonly tag: SparkMasterIdentityPublicKey_Tags.Unset;
18532
+ /**
18533
+ * @private
18534
+ * This field is private and should not be used, use `tag` instead.
18535
+ */
18536
+ readonly [uniffiTypeNameSymbol]: "SparkMasterIdentityPublicKey";
18537
+ };
18538
+ };
18539
+ }>;
18540
+ /**
18541
+ * Specifies how to update the wallet's Spark master identity public key.
18542
+ */
18543
+ export type SparkMasterIdentityPublicKey = InstanceType<(typeof SparkMasterIdentityPublicKey)[keyof Omit<typeof SparkMasterIdentityPublicKey, 'instanceOf'>]>;
16933
18544
  export declare enum StableBalanceActiveLabel_Tags {
16934
18545
  Set = "Set",
16935
18546
  Unset = "Unset"
@@ -18037,10 +19648,33 @@ export declare const TransferTarget: Readonly<{
18037
19648
  };
18038
19649
  }>;
18039
19650
  export type TransferTarget = InstanceType<(typeof TransferTarget)[keyof Omit<typeof TransferTarget, 'instanceOf'>]>;
19651
+ /**
19652
+ * The role of a transaction in the exit path.
19653
+ */
19654
+ export declare enum UnilateralExitTxKind {
19655
+ /**
19656
+ * Splits the caller's funding into one output per branch. Present only
19657
+ * when the funding couldn't be matched one-to-one to branches.
19658
+ */
19659
+ FanOut = 0,
19660
+ /**
19661
+ * A tree node transaction (root, intermediate, or leaf node).
19662
+ */
19663
+ Node = 1,
19664
+ /**
19665
+ * A leaf's refund transaction.
19666
+ */
19667
+ Refund = 2,
19668
+ /**
19669
+ * The final transaction sweeping all refund outputs to the destination.
19670
+ */
19671
+ Sweep = 3
19672
+ }
18040
19673
  export declare enum UnsignedTransferPackage_Tags {
18041
19674
  Swap = "Swap",
18042
19675
  Transfer = "Transfer",
18043
- Token = "Token"
19676
+ Token = "Token",
19677
+ TokenBatch = "TokenBatch"
18044
19678
  }
18045
19679
  export declare const UnsignedTransferPackage: Readonly<{
18046
19680
  instanceOf: (obj: any) => obj is UnsignedTransferPackage;
@@ -18224,6 +19858,74 @@ export declare const UnsignedTransferPackage: Readonly<{
18224
19858
  readonly [uniffiTypeNameSymbol]: "UnsignedTransferPackage";
18225
19859
  };
18226
19860
  };
19861
+ TokenBatch: {
19862
+ new (inner: {
19863
+ prepareTokenTransaction: ExternalPrepareTokenTransactionRequest;
19864
+ tokenContext: ArrayBuffer;
19865
+ /**
19866
+ * What the batch debits, per token. A batch spanning tokens has no
19867
+ * single amount to report.
19868
+ */ totals: Array<BatchTotal>;
19869
+ /**
19870
+ * When set, this package re-shapes the wallet's token outputs instead of
19871
+ * sending a payment. Publishing it returns `SwapCompleted`: rebuild the
19872
+ * original send from the same prepare response and submit again.
19873
+ */ isSwap: boolean;
19874
+ }): {
19875
+ readonly tag: UnsignedTransferPackage_Tags.TokenBatch;
19876
+ readonly inner: Readonly<{
19877
+ prepareTokenTransaction: ExternalPrepareTokenTransactionRequest;
19878
+ tokenContext: ArrayBuffer;
19879
+ totals: Array<BatchTotal>;
19880
+ isSwap: boolean;
19881
+ }>;
19882
+ /**
19883
+ * @private
19884
+ * This field is private and should not be used, use `tag` instead.
19885
+ */
19886
+ readonly [uniffiTypeNameSymbol]: "UnsignedTransferPackage";
19887
+ };
19888
+ "new"(inner: {
19889
+ prepareTokenTransaction: ExternalPrepareTokenTransactionRequest;
19890
+ tokenContext: ArrayBuffer;
19891
+ /**
19892
+ * What the batch debits, per token. A batch spanning tokens has no
19893
+ * single amount to report.
19894
+ */ totals: Array<BatchTotal>;
19895
+ /**
19896
+ * When set, this package re-shapes the wallet's token outputs instead of
19897
+ * sending a payment. Publishing it returns `SwapCompleted`: rebuild the
19898
+ * original send from the same prepare response and submit again.
19899
+ */ isSwap: boolean;
19900
+ }): {
19901
+ readonly tag: UnsignedTransferPackage_Tags.TokenBatch;
19902
+ readonly inner: Readonly<{
19903
+ prepareTokenTransaction: ExternalPrepareTokenTransactionRequest;
19904
+ tokenContext: ArrayBuffer;
19905
+ totals: Array<BatchTotal>;
19906
+ isSwap: boolean;
19907
+ }>;
19908
+ /**
19909
+ * @private
19910
+ * This field is private and should not be used, use `tag` instead.
19911
+ */
19912
+ readonly [uniffiTypeNameSymbol]: "UnsignedTransferPackage";
19913
+ };
19914
+ instanceOf(obj: any): obj is {
19915
+ readonly tag: UnsignedTransferPackage_Tags.TokenBatch;
19916
+ readonly inner: Readonly<{
19917
+ prepareTokenTransaction: ExternalPrepareTokenTransactionRequest;
19918
+ tokenContext: ArrayBuffer;
19919
+ totals: Array<BatchTotal>;
19920
+ isSwap: boolean;
19921
+ }>;
19922
+ /**
19923
+ * @private
19924
+ * This field is private and should not be used, use `tag` instead.
19925
+ */
19926
+ readonly [uniffiTypeNameSymbol]: "UnsignedTransferPackage";
19927
+ };
19928
+ };
18227
19929
  }>;
18228
19930
  export type UnsignedTransferPackage = InstanceType<(typeof UnsignedTransferPackage)[keyof Omit<typeof UnsignedTransferPackage, 'instanceOf'>]>;
18229
19931
  export declare enum UpdateDepositPayload_Tags {
@@ -18471,12 +20173,24 @@ export interface BitcoinChainService {
18471
20173
  getAddressUtxos(address: string, asyncOpts_?: {
18472
20174
  signal: AbortSignal;
18473
20175
  }): Promise<Array<Utxo>>;
20176
+ /**
20177
+ * Every output ever paid to `address`, spent or not, unlike
20178
+ * [`get_address_utxos`](Self::get_address_utxos) which omits spent ones.
20179
+ * Recovers an output's outpoint and value after it has been spent, so a
20180
+ * swept refund can still be distinguished from one never broadcast.
20181
+ */
20182
+ getAddressTxos(address: string, asyncOpts_?: {
20183
+ signal: AbortSignal;
20184
+ }): Promise<Array<Utxo>>;
18474
20185
  getTransactionStatus(txid: string, asyncOpts_?: {
18475
20186
  signal: AbortSignal;
18476
20187
  }): Promise<TxStatus>;
18477
20188
  getTransactionHex(txid: string, asyncOpts_?: {
18478
20189
  signal: AbortSignal;
18479
20190
  }): Promise<string>;
20191
+ getOutspend(txid: string, vout: number, asyncOpts_?: {
20192
+ signal: AbortSignal;
20193
+ }): Promise<Outspend>;
18480
20194
  broadcastTransaction(tx: string, asyncOpts_?: {
18481
20195
  signal: AbortSignal;
18482
20196
  }): Promise<void>;
@@ -18492,12 +20206,24 @@ export declare class BitcoinChainServiceImpl extends UniffiAbstractObject implem
18492
20206
  getAddressUtxos(address: string, asyncOpts_?: {
18493
20207
  signal: AbortSignal;
18494
20208
  }): Promise<Array<Utxo>>;
20209
+ /**
20210
+ * Every output ever paid to `address`, spent or not, unlike
20211
+ * [`get_address_utxos`](Self::get_address_utxos) which omits spent ones.
20212
+ * Recovers an output's outpoint and value after it has been spent, so a
20213
+ * swept refund can still be distinguished from one never broadcast.
20214
+ */
20215
+ getAddressTxos(address: string, asyncOpts_?: {
20216
+ signal: AbortSignal;
20217
+ }): Promise<Array<Utxo>>;
18495
20218
  getTransactionStatus(txid: string, asyncOpts_?: {
18496
20219
  signal: AbortSignal;
18497
20220
  }): Promise<TxStatus>;
18498
20221
  getTransactionHex(txid: string, asyncOpts_?: {
18499
20222
  signal: AbortSignal;
18500
20223
  }): Promise<string>;
20224
+ getOutspend(txid: string, vout: number, asyncOpts_?: {
20225
+ signal: AbortSignal;
20226
+ }): Promise<Outspend>;
18501
20227
  broadcastTransaction(tx: string, asyncOpts_?: {
18502
20228
  signal: AbortSignal;
18503
20229
  }): Promise<void>;
@@ -18558,6 +20284,16 @@ export interface BreezSdkInterface {
18558
20284
  authorizeLightningAddressTransfer(request: AuthorizeTransferRequest, asyncOpts_?: {
18559
20285
  signal: AbortSignal;
18560
20286
  }): Promise<TransferAuthorization>;
20287
+ /**
20288
+ * Builds the unsigned package for the batch prepared by
20289
+ * [`BreezSdk::prepare_send_batch`], for signing outside the SDK.
20290
+ *
20291
+ * Publish the signed package with
20292
+ * [`BreezSdk::publish_signed_transfer_package`], which returns every payment.
20293
+ */
20294
+ buildUnsignedBatchPackage(request: BuildUnsignedBatchPackageRequest, asyncOpts_?: {
20295
+ signal: AbortSignal;
20296
+ }): Promise<UnsignedTransferPackage>;
18561
20297
  buildUnsignedLnurlPayPackage(request: BuildUnsignedLnurlPayPackageRequest, asyncOpts_?: {
18562
20298
  signal: AbortSignal;
18563
20299
  }): Promise<UnsignedTransferPackage>;
@@ -18813,9 +20549,34 @@ export interface BreezSdkInterface {
18813
20549
  prepareLnurlPay(request: PrepareLnurlPayRequest, asyncOpts_?: {
18814
20550
  signal: AbortSignal;
18815
20551
  }): Promise<PrepareLnurlPayResponse>;
20552
+ /**
20553
+ * Prepares a send to several payees, all paid by one transaction.
20554
+ *
20555
+ * Each recipient is a Spark address or a Spark invoice, and one batch may
20556
+ * span several tokens. The response resolves every invoice into the asset
20557
+ * and amount it requests, and reports what the batch debits per asset.
20558
+ *
20559
+ * A batch pays tokens: sending sats to several payees at once is not
20560
+ * supported yet, so a recipient that resolves to sats is rejected.
20561
+ *
20562
+ * A batch that pays a Spark invoice is limited to a single token: the
20563
+ * operators reject a transaction that carries an invoice and pays more
20564
+ * than one. Send those as one batch per token.
20565
+ */
20566
+ prepareSendBatch(request: PrepareSendBatchRequest, asyncOpts_?: {
20567
+ signal: AbortSignal;
20568
+ }): Promise<PrepareSendBatchResponse>;
18816
20569
  prepareSendPayment(request: PrepareSendPaymentRequest, asyncOpts_?: {
18817
20570
  signal: AbortSignal;
18818
20571
  }): Promise<PrepareSendPaymentResponse>;
20572
+ /**
20573
+ * Quotes a unilateral exit without any funding UTXOs: selects which leaves
20574
+ * would exit, computes the exact fee for the given funding kind, and reports
20575
+ * how much to fund.
20576
+ */
20577
+ prepareUnilateralExit(request: PrepareUnilateralExitRequest, asyncOpts_?: {
20578
+ signal: AbortSignal;
20579
+ }): Promise<PrepareUnilateralExitResponse>;
18819
20580
  publishSignedLnurlPayPackage(request: PublishSignedLnurlPayPackageRequest, asyncOpts_?: {
18820
20581
  signal: AbortSignal;
18821
20582
  }): Promise<PublishSignedLnurlPayResponse>;
@@ -18835,19 +20596,20 @@ export interface BreezSdkInterface {
18835
20596
  signal: AbortSignal;
18836
20597
  }): Promise<RefundDepositResponse>;
18837
20598
  /**
18838
- * Runs one pass of the pending-conversion refunder.
20599
+ * Runs one full pass of the pending-conversion refunder and returns how
20600
+ * many conversions were refunded, skipped (held back by a safety window),
20601
+ * or failed.
18839
20602
  *
18840
- * Iterates over payments whose conversions failed and have a refund
18841
- * pending, then attempts to refund each one. This is the same logic the
18842
- * SDK runs internally on a periodic schedule when
18843
- * `background_tasks_enabled` is `true`. When background tasks are
18844
- * disabled the periodic refunder does not run, and this method is the
18845
- * explicit entry point for driving the pass; when background tasks are
18846
- * enabled, it can be called to force an immediate refund pass.
20603
+ * The pass has two parts: refunding locally-marked failed conversions, and
20604
+ * reconciling against Flashnet's clawback-eligible listing to catch
20605
+ * conversions with no local marker (e.g. a storage write that never
20606
+ * landed). The SDK's periodic background schedule runs only the local
20607
+ * part; the reconcile runs at SDK init and on each call to this method, so
20608
+ * this is the explicit entry point for driving a full pass on demand.
18847
20609
  */
18848
20610
  refundPendingConversions(asyncOpts_?: {
18849
20611
  signal: AbortSignal;
18850
- }): Promise<void>;
20612
+ }): Promise<RefundPendingConversionsResponse>;
18851
20613
  registerLightningAddress(request: RegisterLightningAddressRequest, asyncOpts_?: {
18852
20614
  signal: AbortSignal;
18853
20615
  }): Promise<LightningAddressInfo>;
@@ -18883,6 +20645,19 @@ export interface BreezSdkInterface {
18883
20645
  removeEventListener(id: string, asyncOpts_?: {
18884
20646
  signal: AbortSignal;
18885
20647
  }): Promise<boolean>;
20648
+ /**
20649
+ * Sends the batch prepared by [`BreezSdk::prepare_send_batch`], returning
20650
+ * one payment per recipient in recipient order.
20651
+ *
20652
+ * Retrying after a failure that leaves the outcome unknown may pay twice:
20653
+ * a token transfer has no idempotency key, since the operator can only be
20654
+ * asked about a transaction by a hash that is computed while broadcasting.
20655
+ * Look for the batch with a `Token` payment details filter on the
20656
+ * transaction hash before sending it again.
20657
+ */
20658
+ sendBatch(request: SendBatchRequest, asyncOpts_?: {
20659
+ signal: AbortSignal;
20660
+ }): Promise<SendBatchResponse>;
18886
20661
  sendPayment(request: SendPaymentRequest, asyncOpts_?: {
18887
20662
  signal: AbortSignal;
18888
20663
  }): Promise<SendPaymentResponse>;
@@ -18900,6 +20675,21 @@ export interface BreezSdkInterface {
18900
20675
  syncWallet(request: SyncWalletRequest, asyncOpts_?: {
18901
20676
  signal: AbortSignal;
18902
20677
  }): Promise<SyncWalletResponse>;
20678
+ /**
20679
+ * Builds and signs a complete unilateral exit from a `prepare_unilateral_exit`
20680
+ * quote and the actual funding UTXOs, returning the full transaction set in
20681
+ * topological broadcast order without broadcasting. Broadcast it over time,
20682
+ * respecting each transaction's `depends_on` and `csv_timelock_blocks`.
20683
+ *
20684
+ * It resolves on-chain state first (see [`resolve_exit_observations`]): an
20685
+ * already-confirmed fan-out or CPFP node is not rebuilt, and a leaf refund
20686
+ * already on-chain (recognized by the leaf's refund address, so any refund
20687
+ * variant counts) is swept directly. Re-running after partial progress
20688
+ * therefore resumes rather than restarts.
20689
+ */
20690
+ unilateralExit(request: UnilateralExitRequest, signer: CpfpSigner, asyncOpts_?: {
20691
+ signal: AbortSignal;
20692
+ }): Promise<UnilateralExitResponse>;
18903
20693
  /**
18904
20694
  * Unregisters a previously registered webhook.
18905
20695
  *
@@ -18988,6 +20778,16 @@ export declare class BreezSdk extends UniffiAbstractObject implements BreezSdkIn
18988
20778
  authorizeLightningAddressTransfer(request: AuthorizeTransferRequest, asyncOpts_?: {
18989
20779
  signal: AbortSignal;
18990
20780
  }): Promise<TransferAuthorization>;
20781
+ /**
20782
+ * Builds the unsigned package for the batch prepared by
20783
+ * [`BreezSdk::prepare_send_batch`], for signing outside the SDK.
20784
+ *
20785
+ * Publish the signed package with
20786
+ * [`BreezSdk::publish_signed_transfer_package`], which returns every payment.
20787
+ */
20788
+ buildUnsignedBatchPackage(request: BuildUnsignedBatchPackageRequest, asyncOpts_?: {
20789
+ signal: AbortSignal;
20790
+ }): Promise<UnsignedTransferPackage>;
18991
20791
  buildUnsignedLnurlPayPackage(request: BuildUnsignedLnurlPayPackageRequest, asyncOpts_?: {
18992
20792
  signal: AbortSignal;
18993
20793
  }): Promise<UnsignedTransferPackage>;
@@ -19243,9 +21043,34 @@ export declare class BreezSdk extends UniffiAbstractObject implements BreezSdkIn
19243
21043
  prepareLnurlPay(request: PrepareLnurlPayRequest, asyncOpts_?: {
19244
21044
  signal: AbortSignal;
19245
21045
  }): Promise<PrepareLnurlPayResponse>;
21046
+ /**
21047
+ * Prepares a send to several payees, all paid by one transaction.
21048
+ *
21049
+ * Each recipient is a Spark address or a Spark invoice, and one batch may
21050
+ * span several tokens. The response resolves every invoice into the asset
21051
+ * and amount it requests, and reports what the batch debits per asset.
21052
+ *
21053
+ * A batch pays tokens: sending sats to several payees at once is not
21054
+ * supported yet, so a recipient that resolves to sats is rejected.
21055
+ *
21056
+ * A batch that pays a Spark invoice is limited to a single token: the
21057
+ * operators reject a transaction that carries an invoice and pays more
21058
+ * than one. Send those as one batch per token.
21059
+ */
21060
+ prepareSendBatch(request: PrepareSendBatchRequest, asyncOpts_?: {
21061
+ signal: AbortSignal;
21062
+ }): Promise<PrepareSendBatchResponse>;
19246
21063
  prepareSendPayment(request: PrepareSendPaymentRequest, asyncOpts_?: {
19247
21064
  signal: AbortSignal;
19248
21065
  }): Promise<PrepareSendPaymentResponse>;
21066
+ /**
21067
+ * Quotes a unilateral exit without any funding UTXOs: selects which leaves
21068
+ * would exit, computes the exact fee for the given funding kind, and reports
21069
+ * how much to fund.
21070
+ */
21071
+ prepareUnilateralExit(request: PrepareUnilateralExitRequest, asyncOpts_?: {
21072
+ signal: AbortSignal;
21073
+ }): Promise<PrepareUnilateralExitResponse>;
19249
21074
  publishSignedLnurlPayPackage(request: PublishSignedLnurlPayPackageRequest, asyncOpts_?: {
19250
21075
  signal: AbortSignal;
19251
21076
  }): Promise<PublishSignedLnurlPayResponse>;
@@ -19265,19 +21090,20 @@ export declare class BreezSdk extends UniffiAbstractObject implements BreezSdkIn
19265
21090
  signal: AbortSignal;
19266
21091
  }): Promise<RefundDepositResponse>;
19267
21092
  /**
19268
- * Runs one pass of the pending-conversion refunder.
21093
+ * Runs one full pass of the pending-conversion refunder and returns how
21094
+ * many conversions were refunded, skipped (held back by a safety window),
21095
+ * or failed.
19269
21096
  *
19270
- * Iterates over payments whose conversions failed and have a refund
19271
- * pending, then attempts to refund each one. This is the same logic the
19272
- * SDK runs internally on a periodic schedule when
19273
- * `background_tasks_enabled` is `true`. When background tasks are
19274
- * disabled the periodic refunder does not run, and this method is the
19275
- * explicit entry point for driving the pass; when background tasks are
19276
- * enabled, it can be called to force an immediate refund pass.
21097
+ * The pass has two parts: refunding locally-marked failed conversions, and
21098
+ * reconciling against Flashnet's clawback-eligible listing to catch
21099
+ * conversions with no local marker (e.g. a storage write that never
21100
+ * landed). The SDK's periodic background schedule runs only the local
21101
+ * part; the reconcile runs at SDK init and on each call to this method, so
21102
+ * this is the explicit entry point for driving a full pass on demand.
19277
21103
  */
19278
21104
  refundPendingConversions(asyncOpts_?: {
19279
21105
  signal: AbortSignal;
19280
- }): Promise<void>;
21106
+ }): Promise<RefundPendingConversionsResponse>;
19281
21107
  registerLightningAddress(request: RegisterLightningAddressRequest, asyncOpts_?: {
19282
21108
  signal: AbortSignal;
19283
21109
  }): Promise<LightningAddressInfo>;
@@ -19313,6 +21139,19 @@ export declare class BreezSdk extends UniffiAbstractObject implements BreezSdkIn
19313
21139
  removeEventListener(id: string, asyncOpts_?: {
19314
21140
  signal: AbortSignal;
19315
21141
  }): Promise<boolean>;
21142
+ /**
21143
+ * Sends the batch prepared by [`BreezSdk::prepare_send_batch`], returning
21144
+ * one payment per recipient in recipient order.
21145
+ *
21146
+ * Retrying after a failure that leaves the outcome unknown may pay twice:
21147
+ * a token transfer has no idempotency key, since the operator can only be
21148
+ * asked about a transaction by a hash that is computed while broadcasting.
21149
+ * Look for the batch with a `Token` payment details filter on the
21150
+ * transaction hash before sending it again.
21151
+ */
21152
+ sendBatch(request: SendBatchRequest, asyncOpts_?: {
21153
+ signal: AbortSignal;
21154
+ }): Promise<SendBatchResponse>;
19316
21155
  sendPayment(request: SendPaymentRequest, asyncOpts_?: {
19317
21156
  signal: AbortSignal;
19318
21157
  }): Promise<SendPaymentResponse>;
@@ -19330,6 +21169,21 @@ export declare class BreezSdk extends UniffiAbstractObject implements BreezSdkIn
19330
21169
  syncWallet(request: SyncWalletRequest, asyncOpts_?: {
19331
21170
  signal: AbortSignal;
19332
21171
  }): Promise<SyncWalletResponse>;
21172
+ /**
21173
+ * Builds and signs a complete unilateral exit from a `prepare_unilateral_exit`
21174
+ * quote and the actual funding UTXOs, returning the full transaction set in
21175
+ * topological broadcast order without broadcasting. Broadcast it over time,
21176
+ * respecting each transaction's `depends_on` and `csv_timelock_blocks`.
21177
+ *
21178
+ * It resolves on-chain state first (see [`resolve_exit_observations`]): an
21179
+ * already-confirmed fan-out or CPFP node is not rebuilt, and a leaf refund
21180
+ * already on-chain (recognized by the leaf's refund address, so any refund
21181
+ * variant counts) is swept directly. Re-running after partial progress
21182
+ * therefore resumes rather than restarts.
21183
+ */
21184
+ unilateralExit(request: UnilateralExitRequest, signer: CpfpSigner, asyncOpts_?: {
21185
+ signal: AbortSignal;
21186
+ }): Promise<UnilateralExitResponse>;
19333
21187
  /**
19334
21188
  * Unregisters a previously registered webhook.
19335
21189
  *
@@ -19371,6 +21225,37 @@ export declare class BreezSdk extends UniffiAbstractObject implements BreezSdkIn
19371
21225
  uniffiDestroy(): void;
19372
21226
  static instanceOf(obj: any): obj is BreezSdk;
19373
21227
  }
21228
+ /**
21229
+ * Signer for external UTXO inputs in CPFP fee-bumping transactions.
21230
+ *
21231
+ * Signs the non-finalized inputs of a PSBT (serialized as bytes) and returns the
21232
+ * signed PSBT (also serialized as bytes).
21233
+ */
21234
+ export interface CpfpSigner {
21235
+ signPsbt(psbtBytes: ArrayBuffer, asyncOpts_?: {
21236
+ signal: AbortSignal;
21237
+ }): Promise<ArrayBuffer>;
21238
+ }
21239
+ /**
21240
+ * Signer for external UTXO inputs in CPFP fee-bumping transactions.
21241
+ *
21242
+ * Signs the non-finalized inputs of a PSBT (serialized as bytes) and returns the
21243
+ * signed PSBT (also serialized as bytes).
21244
+ */
21245
+ export declare class CpfpSignerImpl extends UniffiAbstractObject implements CpfpSigner {
21246
+ readonly [uniffiTypeNameSymbol] = "CpfpSignerImpl";
21247
+ readonly [destructorGuardSymbol]: UniffiRustArcPtr;
21248
+ readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer;
21249
+ private constructor();
21250
+ signPsbt(psbtBytes: ArrayBuffer, asyncOpts_?: {
21251
+ signal: AbortSignal;
21252
+ }): Promise<ArrayBuffer>;
21253
+ /**
21254
+ * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
21255
+ */
21256
+ uniffiDestroy(): void;
21257
+ static instanceOf(obj: any): obj is CpfpSignerImpl;
21258
+ }
19374
21259
  /**
19375
21260
  * External signer trait that can be implemented by users and passed to the SDK.
19376
21261
  *
@@ -19796,6 +21681,13 @@ export interface ExternalSparkSigner {
19796
21681
  signMessage(message: ArrayBuffer, asyncOpts_?: {
19797
21682
  signal: AbortSignal;
19798
21683
  }): Promise<EcdsaSignatureBytes>;
21684
+ /**
21685
+ * Schnorr-sign `sighash` to spend a tree leaf's P2TR refund output as a
21686
+ * BIP341 key-path spend (empty script tree).
21687
+ */
21688
+ signLeafRefundSpend(leafId: ExternalTreeNodeId, sighash: ArrayBuffer, asyncOpts_?: {
21689
+ signal: AbortSignal;
21690
+ }): Promise<SchnorrSignatureBytes>;
19799
21691
  /**
19800
21692
  * Produce FROST shares for a batch of jobs.
19801
21693
  */
@@ -19902,6 +21794,13 @@ export declare class ExternalSparkSignerImpl extends UniffiAbstractObject implem
19902
21794
  signMessage(message: ArrayBuffer, asyncOpts_?: {
19903
21795
  signal: AbortSignal;
19904
21796
  }): Promise<EcdsaSignatureBytes>;
21797
+ /**
21798
+ * Schnorr-sign `sighash` to spend a tree leaf's P2TR refund output as a
21799
+ * BIP341 key-path spend (empty script tree).
21800
+ */
21801
+ signLeafRefundSpend(leafId: ExternalTreeNodeId, sighash: ArrayBuffer, asyncOpts_?: {
21802
+ signal: AbortSignal;
21803
+ }): Promise<SchnorrSignatureBytes>;
19905
21804
  /**
19906
21805
  * Produce FROST shares for a batch of jobs.
19907
21806
  */
@@ -20065,10 +21964,12 @@ export interface PasskeyClientInterface {
20065
21964
  */
20066
21965
  labels(): PasskeyLabelsInterface;
20067
21966
  /**
20068
- * First-time setup. Drives [`PrfProvider::create_passkey`] (one
20069
- * ceremony) followed by the wallet-derivation flow that backs
20070
- * [`Passkey::setup_wallet`] (one ceremony, dual-salt where
20071
- * supported). The label is always published on success.
21967
+ * First-time setup. Drives [`PrfProvider::create_passkey`], which
21968
+ * returns the seeds inline where the platform evaluates PRF during
21969
+ * the create ceremony; otherwise the wallet-derivation flow behind
21970
+ * [`Passkey::setup_wallet`] runs as a second ceremony. The label is
21971
+ * validated before anything is created, and published in the
21972
+ * background: it may still be in flight when this returns `Ok`.
20072
21973
  */
20073
21974
  register(request: RegisterRequest, asyncOpts_?: {
20074
21975
  signal: AbortSignal;
@@ -20144,10 +22045,12 @@ export declare class PasskeyClient extends UniffiAbstractObject implements Passk
20144
22045
  */
20145
22046
  labels(): PasskeyLabelsInterface;
20146
22047
  /**
20147
- * First-time setup. Drives [`PrfProvider::create_passkey`] (one
20148
- * ceremony) followed by the wallet-derivation flow that backs
20149
- * [`Passkey::setup_wallet`] (one ceremony, dual-salt where
20150
- * supported). The label is always published on success.
22048
+ * First-time setup. Drives [`PrfProvider::create_passkey`], which
22049
+ * returns the seeds inline where the platform evaluates PRF during
22050
+ * the create ceremony; otherwise the wallet-derivation flow behind
22051
+ * [`Passkey::setup_wallet`] runs as a second ceremony. The label is
22052
+ * validated before anything is created, and published in the
22053
+ * background: it may still be in flight when this returns `Ok`.
20151
22054
  */
20152
22055
  register(request: RegisterRequest, asyncOpts_?: {
20153
22056
  signal: AbortSignal;
@@ -20300,19 +22203,33 @@ export interface PrfProvider {
20300
22203
  signal: AbortSignal;
20301
22204
  }): Promise<boolean>;
20302
22205
  /**
20303
- * Explicit registration. Platform passkey providers override this to
20304
- * drive the OS create ceremony and surface the credential metadata
20305
- * hosts need for `exclude_credentials` bookkeeping. CLI / hardware
20306
- * providers register lazily in [`Self::derive_seeds`] and inherit the
20307
- * default `PrfNotSupported`.
22206
+ * Explicit registration: drive the OS create ceremony, and where the
22207
+ * platform supports it, evaluate PRF for `salts` in the same
22208
+ * ceremony. Platform passkey providers override this to surface the
22209
+ * credential metadata hosts need for `exclude_credentials`
22210
+ * bookkeeping. CLI / hardware providers register lazily in
22211
+ * [`Self::derive_seeds`] and inherit the default `PrfNotSupported`.
20308
22212
  *
20309
22213
  * `exclude_credentials` lists already-registered IDs and surfaces
20310
22214
  * duplicates as `CredentialAlreadyExists`. The `user.id` is always
20311
22215
  * provider-minted and returned on `PasskeyCredential.user_id`.
22216
+ *
22217
+ * Returning seeds removes the assertion that would otherwise follow
22218
+ * a create, and with it the window where the new credential exists
22219
+ * but the platform cannot yet resolve it. Return `seeds: None` for
22220
+ * anything short of one output per salt (some authenticators drop
22221
+ * `prf.eval.second`): a partial result is not usable, and the caller
22222
+ * falls back to [`Self::derive_seeds`]. Empty `salts` means the
22223
+ * caller wants the credential only.
22224
+ *
22225
+ * Seeds returned here must equal what [`Self::derive_seeds`] would
22226
+ * return for the same salts. The wallet is derived from them either
22227
+ * way, so a mismatch means register and sign-in land on different
22228
+ * wallets, and the one register created is unreachable.
20312
22229
  */
20313
- createPasskey(excludeCredentials: Array<ArrayBuffer>, asyncOpts_?: {
22230
+ createPasskey(excludeCredentials: Array<ArrayBuffer>, salts: Array<string>, asyncOpts_?: {
20314
22231
  signal: AbortSignal;
20315
- }): Promise<PasskeyCredential>;
22232
+ }): Promise<CreatePasskeyOutput>;
20316
22233
  /**
20317
22234
  * Advisory check against the platform's out-of-band verification
20318
22235
  * source (iOS AASA / Android assetlinks / browser rpId scope).
@@ -20370,19 +22287,33 @@ export declare class PrfProviderImpl extends UniffiAbstractObject implements Prf
20370
22287
  signal: AbortSignal;
20371
22288
  }): Promise<boolean>;
20372
22289
  /**
20373
- * Explicit registration. Platform passkey providers override this to
20374
- * drive the OS create ceremony and surface the credential metadata
20375
- * hosts need for `exclude_credentials` bookkeeping. CLI / hardware
20376
- * providers register lazily in [`Self::derive_seeds`] and inherit the
20377
- * default `PrfNotSupported`.
22290
+ * Explicit registration: drive the OS create ceremony, and where the
22291
+ * platform supports it, evaluate PRF for `salts` in the same
22292
+ * ceremony. Platform passkey providers override this to surface the
22293
+ * credential metadata hosts need for `exclude_credentials`
22294
+ * bookkeeping. CLI / hardware providers register lazily in
22295
+ * [`Self::derive_seeds`] and inherit the default `PrfNotSupported`.
20378
22296
  *
20379
22297
  * `exclude_credentials` lists already-registered IDs and surfaces
20380
22298
  * duplicates as `CredentialAlreadyExists`. The `user.id` is always
20381
22299
  * provider-minted and returned on `PasskeyCredential.user_id`.
22300
+ *
22301
+ * Returning seeds removes the assertion that would otherwise follow
22302
+ * a create, and with it the window where the new credential exists
22303
+ * but the platform cannot yet resolve it. Return `seeds: None` for
22304
+ * anything short of one output per salt (some authenticators drop
22305
+ * `prf.eval.second`): a partial result is not usable, and the caller
22306
+ * falls back to [`Self::derive_seeds`]. Empty `salts` means the
22307
+ * caller wants the credential only.
22308
+ *
22309
+ * Seeds returned here must equal what [`Self::derive_seeds`] would
22310
+ * return for the same salts. The wallet is derived from them either
22311
+ * way, so a mismatch means register and sign-in land on different
22312
+ * wallets, and the one register created is unreachable.
20382
22313
  */
20383
- createPasskey(excludeCredentials: Array<ArrayBuffer>, asyncOpts_?: {
22314
+ createPasskey(excludeCredentials: Array<ArrayBuffer>, salts: Array<string>, asyncOpts_?: {
20384
22315
  signal: AbortSignal;
20385
- }): Promise<PasskeyCredential>;
22316
+ }): Promise<CreatePasskeyOutput>;
20386
22317
  /**
20387
22318
  * Advisory check against the platform's out-of-band verification
20388
22319
  * source (iOS AASA / Android assetlinks / browser rpId scope).
@@ -21710,6 +23641,27 @@ declare const _default: Readonly<{
21710
23641
  lift(value: UniffiByteArray): AutoOptimizationEvent;
21711
23642
  lower(value: AutoOptimizationEvent): UniffiByteArray;
21712
23643
  };
23644
+ FfiConverterTypeBatchDestination: {
23645
+ read(from: RustBuffer): BatchDestination;
23646
+ write(value: BatchDestination, into: RustBuffer): void;
23647
+ allocationSize(value: BatchDestination): number;
23648
+ lift(value: UniffiByteArray): BatchDestination;
23649
+ lower(value: BatchDestination): UniffiByteArray;
23650
+ };
23651
+ FfiConverterTypeBatchRecipient: {
23652
+ read(from: RustBuffer): BatchRecipient;
23653
+ write(value: BatchRecipient, into: RustBuffer): void;
23654
+ allocationSize(value: BatchRecipient): number;
23655
+ lift(value: UniffiByteArray): BatchRecipient;
23656
+ lower(value: BatchRecipient): UniffiByteArray;
23657
+ };
23658
+ FfiConverterTypeBatchTotal: {
23659
+ read(from: RustBuffer): BatchTotal;
23660
+ write(value: BatchTotal, into: RustBuffer): void;
23661
+ allocationSize(value: BatchTotal): number;
23662
+ lift(value: UniffiByteArray): BatchTotal;
23663
+ lower(value: BatchTotal): UniffiByteArray;
23664
+ };
21713
23665
  FfiConverterTypeBip21Details: {
21714
23666
  read(from: RustBuffer): Bip21Details;
21715
23667
  write(value: Bip21Details, into: RustBuffer): void;
@@ -21817,6 +23769,13 @@ declare const _default: Readonly<{
21817
23769
  lift(value: UniffiByteArray): BuildTransferPackageOptions;
21818
23770
  lower(value: BuildTransferPackageOptions): UniffiByteArray;
21819
23771
  };
23772
+ FfiConverterTypeBuildUnsignedBatchPackageRequest: {
23773
+ read(from: RustBuffer): BuildUnsignedBatchPackageRequest;
23774
+ write(value: BuildUnsignedBatchPackageRequest, into: RustBuffer): void;
23775
+ allocationSize(value: BuildUnsignedBatchPackageRequest): number;
23776
+ lift(value: UniffiByteArray): BuildUnsignedBatchPackageRequest;
23777
+ lower(value: BuildUnsignedBatchPackageRequest): UniffiByteArray;
23778
+ };
21820
23779
  FfiConverterTypeBuildUnsignedLnurlPayPackageRequest: {
21821
23780
  read(from: RustBuffer): BuildUnsignedLnurlPayPackageRequest;
21822
23781
  write(value: BuildUnsignedLnurlPayPackageRequest, into: RustBuffer): void;
@@ -21929,6 +23888,13 @@ declare const _default: Readonly<{
21929
23888
  lift(value: UniffiByteArray): Config;
21930
23889
  lower(value: Config): UniffiByteArray;
21931
23890
  };
23891
+ FfiConverterTypeConfirmationStatus: {
23892
+ read(from: RustBuffer): ConfirmationStatus;
23893
+ write(value: ConfirmationStatus, into: RustBuffer): void;
23894
+ allocationSize(value: ConfirmationStatus): number;
23895
+ lift(value: UniffiByteArray): ConfirmationStatus;
23896
+ lower(value: ConfirmationStatus): UniffiByteArray;
23897
+ };
21932
23898
  FfiConverterTypeConnectRequest: {
21933
23899
  read(from: RustBuffer): ConnectRequest;
21934
23900
  write(value: ConnectRequest, into: RustBuffer): void;
@@ -22062,6 +24028,21 @@ declare const _default: Readonly<{
22062
24028
  lift(value: UniffiByteArray): ConversionType;
22063
24029
  lower(value: ConversionType): UniffiByteArray;
22064
24030
  };
24031
+ FfiConverterTypeCpfpFundingKind: {
24032
+ read(from: RustBuffer): CpfpFundingKind;
24033
+ write(value: CpfpFundingKind, into: RustBuffer): void;
24034
+ allocationSize(value: CpfpFundingKind): number;
24035
+ lift(value: UniffiByteArray): CpfpFundingKind;
24036
+ lower(value: CpfpFundingKind): UniffiByteArray;
24037
+ };
24038
+ FfiConverterTypeCpfpInput: {
24039
+ read(from: RustBuffer): CpfpInput;
24040
+ write(value: CpfpInput, into: RustBuffer): void;
24041
+ allocationSize(value: CpfpInput): number;
24042
+ lift(value: UniffiByteArray): CpfpInput;
24043
+ lower(value: CpfpInput): UniffiByteArray;
24044
+ };
24045
+ FfiConverterTypeCpfpSigner: FfiConverterObjectWithCallbacks<CpfpSigner>;
22065
24046
  FfiConverterTypeCreateIssuerTokenRequest: {
22066
24047
  read(from: RustBuffer): CreateIssuerTokenRequest;
22067
24048
  write(value: CreateIssuerTokenRequest, into: RustBuffer): void;
@@ -22069,6 +24050,13 @@ declare const _default: Readonly<{
22069
24050
  lift(value: UniffiByteArray): CreateIssuerTokenRequest;
22070
24051
  lower(value: CreateIssuerTokenRequest): UniffiByteArray;
22071
24052
  };
24053
+ FfiConverterTypeCreatePasskeyOutput: {
24054
+ read(from: RustBuffer): CreatePasskeyOutput;
24055
+ write(value: CreatePasskeyOutput, into: RustBuffer): void;
24056
+ allocationSize(value: CreatePasskeyOutput): number;
24057
+ lift(value: UniffiByteArray): CreatePasskeyOutput;
24058
+ lower(value: CreatePasskeyOutput): UniffiByteArray;
24059
+ };
22072
24060
  FfiConverterTypeCredentials: {
22073
24061
  read(from: RustBuffer): Credentials;
22074
24062
  write(value: Credentials, into: RustBuffer): void;
@@ -22188,6 +24176,13 @@ declare const _default: Readonly<{
22188
24176
  lift(value: UniffiByteArray): ErrorKind;
22189
24177
  lower(value: ErrorKind): UniffiByteArray;
22190
24178
  };
24179
+ FfiConverterTypeExitLeafSelection: {
24180
+ read(from: RustBuffer): ExitLeafSelection;
24181
+ write(value: ExitLeafSelection, into: RustBuffer): void;
24182
+ allocationSize(value: ExitLeafSelection): number;
24183
+ lift(value: UniffiByteArray): ExitLeafSelection;
24184
+ lower(value: ExitLeafSelection): UniffiByteArray;
24185
+ };
22191
24186
  FfiConverterTypeExternalBreezSigner: FfiConverterObjectWithCallbacks<ExternalBreezSigner>;
22192
24187
  FfiConverterTypeExternalClaimLeafInput: {
22193
24188
  read(from: RustBuffer): ExternalClaimLeafInput;
@@ -22836,6 +24831,13 @@ declare const _default: Readonly<{
22836
24831
  lift(value: UniffiByteArray): OutgoingChange;
22837
24832
  lower(value: OutgoingChange): UniffiByteArray;
22838
24833
  };
24834
+ FfiConverterTypeOutspend: {
24835
+ read(from: RustBuffer): Outspend;
24836
+ write(value: Outspend, into: RustBuffer): void;
24837
+ allocationSize(value: Outspend): number;
24838
+ lift(value: UniffiByteArray): Outspend;
24839
+ lower(value: Outspend): UniffiByteArray;
24840
+ };
22839
24841
  FfiConverterTypePasskeyAvailability: {
22840
24842
  read(from: RustBuffer): PasskeyAvailability;
22841
24843
  write(value: PasskeyAvailability, into: RustBuffer): void;
@@ -22951,6 +24953,13 @@ declare const _default: Readonly<{
22951
24953
  lift(value: UniffiByteArray): PaymentType;
22952
24954
  lower(value: PaymentType): UniffiByteArray;
22953
24955
  };
24956
+ FfiConverterTypePerBranchFunding: {
24957
+ read(from: RustBuffer): PerBranchFunding;
24958
+ write(value: PerBranchFunding, into: RustBuffer): void;
24959
+ allocationSize(value: PerBranchFunding): number;
24960
+ lift(value: UniffiByteArray): PerBranchFunding;
24961
+ lower(value: PerBranchFunding): UniffiByteArray;
24962
+ };
22954
24963
  FfiConverterTypePrepareLnurlPayRequest: {
22955
24964
  read(from: RustBuffer): PrepareLnurlPayRequest;
22956
24965
  write(value: PrepareLnurlPayRequest, into: RustBuffer): void;
@@ -22965,6 +24974,20 @@ declare const _default: Readonly<{
22965
24974
  lift(value: UniffiByteArray): PrepareLnurlPayResponse;
22966
24975
  lower(value: PrepareLnurlPayResponse): UniffiByteArray;
22967
24976
  };
24977
+ FfiConverterTypePrepareSendBatchRequest: {
24978
+ read(from: RustBuffer): PrepareSendBatchRequest;
24979
+ write(value: PrepareSendBatchRequest, into: RustBuffer): void;
24980
+ allocationSize(value: PrepareSendBatchRequest): number;
24981
+ lift(value: UniffiByteArray): PrepareSendBatchRequest;
24982
+ lower(value: PrepareSendBatchRequest): UniffiByteArray;
24983
+ };
24984
+ FfiConverterTypePrepareSendBatchResponse: {
24985
+ read(from: RustBuffer): PrepareSendBatchResponse;
24986
+ write(value: PrepareSendBatchResponse, into: RustBuffer): void;
24987
+ allocationSize(value: PrepareSendBatchResponse): number;
24988
+ lift(value: UniffiByteArray): PrepareSendBatchResponse;
24989
+ lower(value: PrepareSendBatchResponse): UniffiByteArray;
24990
+ };
22968
24991
  FfiConverterTypePrepareSendPaymentRequest: {
22969
24992
  read(from: RustBuffer): PrepareSendPaymentRequest;
22970
24993
  write(value: PrepareSendPaymentRequest, into: RustBuffer): void;
@@ -22979,6 +25002,20 @@ declare const _default: Readonly<{
22979
25002
  lift(value: UniffiByteArray): PrepareSendPaymentResponse;
22980
25003
  lower(value: PrepareSendPaymentResponse): UniffiByteArray;
22981
25004
  };
25005
+ FfiConverterTypePrepareUnilateralExitRequest: {
25006
+ read(from: RustBuffer): PrepareUnilateralExitRequest;
25007
+ write(value: PrepareUnilateralExitRequest, into: RustBuffer): void;
25008
+ allocationSize(value: PrepareUnilateralExitRequest): number;
25009
+ lift(value: UniffiByteArray): PrepareUnilateralExitRequest;
25010
+ lower(value: PrepareUnilateralExitRequest): UniffiByteArray;
25011
+ };
25012
+ FfiConverterTypePrepareUnilateralExitResponse: {
25013
+ read(from: RustBuffer): PrepareUnilateralExitResponse;
25014
+ write(value: PrepareUnilateralExitResponse, into: RustBuffer): void;
25015
+ allocationSize(value: PrepareUnilateralExitResponse): number;
25016
+ lift(value: UniffiByteArray): PrepareUnilateralExitResponse;
25017
+ lower(value: PrepareUnilateralExitResponse): UniffiByteArray;
25018
+ };
22982
25019
  FfiConverterTypePrfProvider: FfiConverterObjectWithCallbacks<PrfProvider>;
22983
25020
  FfiConverterTypePrfProviderError: {
22984
25021
  read(from: RustBuffer): PrfProviderError;
@@ -23114,6 +25151,13 @@ declare const _default: Readonly<{
23114
25151
  lift(value: UniffiByteArray): RefundDepositResponse;
23115
25152
  lower(value: RefundDepositResponse): UniffiByteArray;
23116
25153
  };
25154
+ FfiConverterTypeRefundPendingConversionsResponse: {
25155
+ read(from: RustBuffer): RefundPendingConversionsResponse;
25156
+ write(value: RefundPendingConversionsResponse, into: RustBuffer): void;
25157
+ allocationSize(value: RefundPendingConversionsResponse): number;
25158
+ lift(value: UniffiByteArray): RefundPendingConversionsResponse;
25159
+ lower(value: RefundPendingConversionsResponse): UniffiByteArray;
25160
+ };
23117
25161
  FfiConverterTypeRegisterLightningAddressRequest: {
23118
25162
  read(from: RustBuffer): RegisterLightningAddressRequest;
23119
25163
  write(value: RegisterLightningAddressRequest, into: RustBuffer): void;
@@ -23149,6 +25193,13 @@ declare const _default: Readonly<{
23149
25193
  lift(value: UniffiByteArray): RegisterWebhookResponse;
23150
25194
  lower(value: RegisterWebhookResponse): UniffiByteArray;
23151
25195
  };
25196
+ FfiConverterTypeResolvedBatchRecipient: {
25197
+ read(from: RustBuffer): ResolvedBatchRecipient;
25198
+ write(value: ResolvedBatchRecipient, into: RustBuffer): void;
25199
+ allocationSize(value: ResolvedBatchRecipient): number;
25200
+ lift(value: UniffiByteArray): ResolvedBatchRecipient;
25201
+ lower(value: ResolvedBatchRecipient): UniffiByteArray;
25202
+ };
23152
25203
  FfiConverterTypeResolvedStores: FfiConverterObject<ResolvedStoresInterface>;
23153
25204
  FfiConverterTypeRestClient: FfiConverterObjectWithCallbacks<RestClient>;
23154
25205
  FfiConverterTypeRestResponse: {
@@ -23202,6 +25253,20 @@ declare const _default: Readonly<{
23202
25253
  lift(value: UniffiByteArray): Seed;
23203
25254
  lower(value: Seed): UniffiByteArray;
23204
25255
  };
25256
+ FfiConverterTypeSendBatchRequest: {
25257
+ read(from: RustBuffer): SendBatchRequest;
25258
+ write(value: SendBatchRequest, into: RustBuffer): void;
25259
+ allocationSize(value: SendBatchRequest): number;
25260
+ lift(value: UniffiByteArray): SendBatchRequest;
25261
+ lower(value: SendBatchRequest): UniffiByteArray;
25262
+ };
25263
+ FfiConverterTypeSendBatchResponse: {
25264
+ read(from: RustBuffer): SendBatchResponse;
25265
+ write(value: SendBatchResponse, into: RustBuffer): void;
25266
+ allocationSize(value: SendBatchResponse): number;
25267
+ lift(value: UniffiByteArray): SendBatchResponse;
25268
+ lower(value: SendBatchResponse): UniffiByteArray;
25269
+ };
23205
25270
  FfiConverterTypeSendOnchainFeeQuote: {
23206
25271
  read(from: RustBuffer): SendOnchainFeeQuote;
23207
25272
  write(value: SendOnchainFeeQuote, into: RustBuffer): void;
@@ -23399,6 +25464,13 @@ declare const _default: Readonly<{
23399
25464
  lift(value: UniffiByteArray): SparkInvoicePaymentDetails;
23400
25465
  lower(value: SparkInvoicePaymentDetails): UniffiByteArray;
23401
25466
  };
25467
+ FfiConverterTypeSparkMasterIdentityPublicKey: {
25468
+ read(from: RustBuffer): SparkMasterIdentityPublicKey;
25469
+ write(value: SparkMasterIdentityPublicKey, into: RustBuffer): void;
25470
+ allocationSize(value: SparkMasterIdentityPublicKey): number;
25471
+ lift(value: UniffiByteArray): SparkMasterIdentityPublicKey;
25472
+ lower(value: SparkMasterIdentityPublicKey): UniffiByteArray;
25473
+ };
23402
25474
  FfiConverterTypeSparkSigningOperator: {
23403
25475
  read(from: RustBuffer): SparkSigningOperator;
23404
25476
  write(value: SparkSigningOperator, into: RustBuffer): void;
@@ -23591,6 +25663,41 @@ declare const _default: Readonly<{
23591
25663
  lift(value: UniffiByteArray): UnfreezeIssuerTokenResponse;
23592
25664
  lower(value: UnfreezeIssuerTokenResponse): UniffiByteArray;
23593
25665
  };
25666
+ FfiConverterTypeUnilateralExitLeaf: {
25667
+ read(from: RustBuffer): UnilateralExitLeaf;
25668
+ write(value: UnilateralExitLeaf, into: RustBuffer): void;
25669
+ allocationSize(value: UnilateralExitLeaf): number;
25670
+ lift(value: UniffiByteArray): UnilateralExitLeaf;
25671
+ lower(value: UnilateralExitLeaf): UniffiByteArray;
25672
+ };
25673
+ FfiConverterTypeUnilateralExitRequest: {
25674
+ read(from: RustBuffer): UnilateralExitRequest;
25675
+ write(value: UnilateralExitRequest, into: RustBuffer): void;
25676
+ allocationSize(value: UnilateralExitRequest): number;
25677
+ lift(value: UniffiByteArray): UnilateralExitRequest;
25678
+ lower(value: UnilateralExitRequest): UniffiByteArray;
25679
+ };
25680
+ FfiConverterTypeUnilateralExitResponse: {
25681
+ read(from: RustBuffer): UnilateralExitResponse;
25682
+ write(value: UnilateralExitResponse, into: RustBuffer): void;
25683
+ allocationSize(value: UnilateralExitResponse): number;
25684
+ lift(value: UniffiByteArray): UnilateralExitResponse;
25685
+ lower(value: UnilateralExitResponse): UniffiByteArray;
25686
+ };
25687
+ FfiConverterTypeUnilateralExitTransaction: {
25688
+ read(from: RustBuffer): UnilateralExitTransaction;
25689
+ write(value: UnilateralExitTransaction, into: RustBuffer): void;
25690
+ allocationSize(value: UnilateralExitTransaction): number;
25691
+ lift(value: UniffiByteArray): UnilateralExitTransaction;
25692
+ lower(value: UnilateralExitTransaction): UniffiByteArray;
25693
+ };
25694
+ FfiConverterTypeUnilateralExitTxKind: {
25695
+ read(from: RustBuffer): UnilateralExitTxKind;
25696
+ write(value: UnilateralExitTxKind, into: RustBuffer): void;
25697
+ allocationSize(value: UnilateralExitTxKind): number;
25698
+ lift(value: UniffiByteArray): UnilateralExitTxKind;
25699
+ lower(value: UnilateralExitTxKind): UniffiByteArray;
25700
+ };
23594
25701
  FfiConverterTypeUnregisterWebhookRequest: {
23595
25702
  read(from: RustBuffer): UnregisterWebhookRequest;
23596
25703
  write(value: UnregisterWebhookRequest, into: RustBuffer): void;