@breeztech/breez-sdk-spark-react-native 0.13.11-dev1 → 0.14.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.
@@ -1,4 +1,4 @@
1
- import { type UniffiByteArray, type UniffiRustArcPtr, type UnsafeMutableRawPointer, FfiConverterObject, FfiConverterObjectWithCallbacks, RustBuffer, UniffiAbstractObject, destructorGuardSymbol, pointerLiteralSymbol, uniffiTypeNameSymbol } from 'uniffi-bindgen-react-native';
1
+ import { type FfiConverter, type UniffiByteArray, type UniffiRustArcPtr, type UnsafeMutableRawPointer, FfiConverterObject, FfiConverterObjectWithCallbacks, RustBuffer, UniffiAbstractObject, destructorGuardSymbol, pointerLiteralSymbol, uniffiTypeNameSymbol } from 'uniffi-bindgen-react-native';
2
2
  /**
3
3
  * Connects to the Spark network using the provided configuration and mnemonic.
4
4
  *
@@ -59,6 +59,38 @@ export declare function getSparkStatus(asyncOpts_?: {
59
59
  signal: AbortSignal;
60
60
  }): Promise<SparkStatus>;
61
61
  export declare function initLogging(logDir: string | undefined, appLogger: Logger | undefined, logFilter: string | undefined): void;
62
+ /**
63
+ * Creates a new shareable [`ConnectionManager`].
64
+ *
65
+ * `connections_per_operator` controls per-operator connection pooling:
66
+ * `None` keeps a single connection per operator (suitable for almost every
67
+ * deployment); `Some(n)` opens `n` connections per operator and balances
68
+ * requests across them.
69
+ */
70
+ export declare function newConnectionManager(connectionsPerOperator: /*u32*/ number | undefined): ConnectionManagerInterface;
71
+ /**
72
+ * Constructs a shareable REST-based [`BitcoinChainService`].
73
+ *
74
+ * Pass the returned `Arc` to multiple [`SdkBuilder`](crate::SdkBuilder)s via
75
+ * [`SdkBuilder::with_chain_service`](crate::SdkBuilder::with_chain_service)
76
+ * to reuse a single underlying HTTP client (and its connection pool) across
77
+ * SDK instances. All SDKs sharing the service must use the same `network`.
78
+ *
79
+ * For one-off, non-shared use, prefer
80
+ * [`SdkBuilder::with_rest_chain_service`](crate::SdkBuilder::with_rest_chain_service).
81
+ */
82
+ export declare function newRestChainService(url: string, network: Network, apiType: ChainApiType, credentials: Credentials | undefined, asyncOpts_?: {
83
+ signal: AbortSignal;
84
+ }): Promise<BitcoinChainService>;
85
+ /**
86
+ * Construct a new shared SSP connection manager.
87
+ *
88
+ * Pass the returned `Arc<SspConnectionManager>` to
89
+ * [`SdkBuilder::with_ssp_connection_manager`](crate::SdkBuilder::with_ssp_connection_manager)
90
+ * when building each SDK instance that should share the underlying HTTP
91
+ * connection pool.
92
+ */
93
+ export declare function newSspConnectionManager(userAgent: string | undefined): SspConnectionManagerInterface;
62
94
  /**
63
95
  * Trait for event listeners
64
96
  */
@@ -3907,6 +3939,32 @@ export declare const SendPaymentResponse: Readonly<{
3907
3939
  */
3908
3940
  defaults: () => Partial<SendPaymentResponse>;
3909
3941
  }>;
3942
+ /**
3943
+ * Cached authentication session for a single backend service identity.
3944
+ */
3945
+ export type Session = {
3946
+ token: string;
3947
+ expiration: bigint;
3948
+ };
3949
+ /**
3950
+ * Generated factory for {@link Session} record objects.
3951
+ */
3952
+ export declare const Session: Readonly<{
3953
+ /**
3954
+ * Create a frozen instance of {@link Session}, with defaults specified
3955
+ * in Rust, in the {@link breez_sdk_spark} crate.
3956
+ */
3957
+ create: (partial: Partial<Session> & Required<Omit<Session, never>>) => Session;
3958
+ /**
3959
+ * Create a frozen instance of {@link Session}, with defaults specified
3960
+ * in Rust, in the {@link breez_sdk_spark} crate.
3961
+ */
3962
+ new: (partial: Partial<Session> & Required<Omit<Session, never>>) => Session;
3963
+ /**
3964
+ * Defaults specified in the {@link breez_sdk_spark} crate.
3965
+ */
3966
+ defaults: () => Partial<Session>;
3967
+ }>;
3910
3968
  export type SetLnurlMetadataItem = {
3911
3969
  paymentHash: string;
3912
3970
  senderComment: string | undefined;
@@ -4941,6 +4999,11 @@ export declare const Webhook: Readonly<{
4941
4999
  */
4942
5000
  defaults: () => Partial<Webhook>;
4943
5001
  }>;
5002
+ /**
5003
+ * Typealias from the type name used in the UDL file to the builtin type. This
5004
+ * is needed because the UDL type name is used in function/method signatures.
5005
+ */
5006
+ export type PublicKey = string;
4944
5007
  /**
4945
5008
  * Typealias from the type name used in the UDL file to the custom type. This
4946
5009
  * is needed because the UDL type name is used in function/method signatures.
@@ -11772,6 +11835,139 @@ export declare enum ServiceStatus {
11772
11835
  */
11773
11836
  Major = 4
11774
11837
  }
11838
+ export declare enum SessionManagerError_Tags {
11839
+ NotFound = "NotFound",
11840
+ Generic = "Generic"
11841
+ }
11842
+ export declare const SessionManagerError: Readonly<{
11843
+ instanceOf: (obj: any) => obj is SessionManagerError;
11844
+ NotFound: {
11845
+ new (): {
11846
+ readonly tag: SessionManagerError_Tags.NotFound;
11847
+ /**
11848
+ * @private
11849
+ * This field is private and should not be used, use `tag` instead.
11850
+ */
11851
+ readonly [uniffiTypeNameSymbol]: "SessionManagerError";
11852
+ name: string;
11853
+ message: string;
11854
+ stack?: string;
11855
+ cause?: unknown;
11856
+ };
11857
+ "new"(): {
11858
+ readonly tag: SessionManagerError_Tags.NotFound;
11859
+ /**
11860
+ * @private
11861
+ * This field is private and should not be used, use `tag` instead.
11862
+ */
11863
+ readonly [uniffiTypeNameSymbol]: "SessionManagerError";
11864
+ name: string;
11865
+ message: string;
11866
+ stack?: string;
11867
+ cause?: unknown;
11868
+ };
11869
+ instanceOf(obj: any): obj is {
11870
+ readonly tag: SessionManagerError_Tags.NotFound;
11871
+ /**
11872
+ * @private
11873
+ * This field is private and should not be used, use `tag` instead.
11874
+ */
11875
+ readonly [uniffiTypeNameSymbol]: "SessionManagerError";
11876
+ name: string;
11877
+ message: string;
11878
+ stack?: string;
11879
+ cause?: unknown;
11880
+ };
11881
+ hasInner(obj: any): obj is {
11882
+ readonly tag: SessionManagerError_Tags.NotFound;
11883
+ /**
11884
+ * @private
11885
+ * This field is private and should not be used, use `tag` instead.
11886
+ */
11887
+ readonly [uniffiTypeNameSymbol]: "SessionManagerError";
11888
+ name: string;
11889
+ message: string;
11890
+ stack?: string;
11891
+ cause?: unknown;
11892
+ };
11893
+ isError(error: unknown): error is Error;
11894
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
11895
+ prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
11896
+ stackTraceLimit: number;
11897
+ };
11898
+ Generic: {
11899
+ new (v0: string): {
11900
+ readonly tag: SessionManagerError_Tags.Generic;
11901
+ readonly inner: Readonly<[string]>;
11902
+ /**
11903
+ * @private
11904
+ * This field is private and should not be used, use `tag` instead.
11905
+ */
11906
+ readonly [uniffiTypeNameSymbol]: "SessionManagerError";
11907
+ name: string;
11908
+ message: string;
11909
+ stack?: string;
11910
+ cause?: unknown;
11911
+ };
11912
+ "new"(v0: string): {
11913
+ readonly tag: SessionManagerError_Tags.Generic;
11914
+ readonly inner: Readonly<[string]>;
11915
+ /**
11916
+ * @private
11917
+ * This field is private and should not be used, use `tag` instead.
11918
+ */
11919
+ readonly [uniffiTypeNameSymbol]: "SessionManagerError";
11920
+ name: string;
11921
+ message: string;
11922
+ stack?: string;
11923
+ cause?: unknown;
11924
+ };
11925
+ instanceOf(obj: any): obj is {
11926
+ readonly tag: SessionManagerError_Tags.Generic;
11927
+ readonly inner: Readonly<[string]>;
11928
+ /**
11929
+ * @private
11930
+ * This field is private and should not be used, use `tag` instead.
11931
+ */
11932
+ readonly [uniffiTypeNameSymbol]: "SessionManagerError";
11933
+ name: string;
11934
+ message: string;
11935
+ stack?: string;
11936
+ cause?: unknown;
11937
+ };
11938
+ hasInner(obj: any): obj is {
11939
+ readonly tag: SessionManagerError_Tags.Generic;
11940
+ readonly inner: Readonly<[string]>;
11941
+ /**
11942
+ * @private
11943
+ * This field is private and should not be used, use `tag` instead.
11944
+ */
11945
+ readonly [uniffiTypeNameSymbol]: "SessionManagerError";
11946
+ name: string;
11947
+ message: string;
11948
+ stack?: string;
11949
+ cause?: unknown;
11950
+ };
11951
+ getInner(obj: {
11952
+ readonly tag: SessionManagerError_Tags.Generic;
11953
+ readonly inner: Readonly<[string]>;
11954
+ /**
11955
+ * @private
11956
+ * This field is private and should not be used, use `tag` instead.
11957
+ */
11958
+ readonly [uniffiTypeNameSymbol]: "SessionManagerError";
11959
+ name: string;
11960
+ message: string;
11961
+ stack?: string;
11962
+ cause?: unknown;
11963
+ }): Readonly<[string]>;
11964
+ isError(error: unknown): error is Error;
11965
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
11966
+ prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
11967
+ stackTraceLimit: number;
11968
+ };
11969
+ }>;
11970
+ export type SessionManagerError = InstanceType<(typeof SessionManagerError)[keyof Omit<typeof SessionManagerError, 'instanceOf'>]>;
11775
11971
  export declare enum SignerError_Tags {
11776
11972
  KeyDerivation = "KeyDerivation",
11777
11973
  Signing = "Signing",
@@ -14189,6 +14385,45 @@ export declare class BreezSdk extends UniffiAbstractObject implements BreezSdkIn
14189
14385
  uniffiDestroy(): void;
14190
14386
  static instanceOf(obj: any): obj is BreezSdk;
14191
14387
  }
14388
+ /**
14389
+ * A shareable manager for gRPC connections to the Spark operators.
14390
+ *
14391
+ * Construct one via [`new_connection_manager`] and pass the same `Arc` to
14392
+ * multiple [`SdkBuilder`](crate::SdkBuilder)s via
14393
+ * [`SdkBuilder::with_connection_manager`](crate::SdkBuilder::with_connection_manager).
14394
+ * Connections close when the last `Arc<ConnectionManager>` is dropped;
14395
+ * [`BreezSdk::disconnect`](crate::BreezSdk::disconnect) does not affect them.
14396
+ *
14397
+ * All SDK instances sharing a `ConnectionManager` must be configured for the
14398
+ * same network and operator pool. The TLS settings and user agent of the
14399
+ * first SDK to connect to a given operator are reused for everyone afterwards.
14400
+ */
14401
+ export interface ConnectionManagerInterface {
14402
+ }
14403
+ /**
14404
+ * A shareable manager for gRPC connections to the Spark operators.
14405
+ *
14406
+ * Construct one via [`new_connection_manager`] and pass the same `Arc` to
14407
+ * multiple [`SdkBuilder`](crate::SdkBuilder)s via
14408
+ * [`SdkBuilder::with_connection_manager`](crate::SdkBuilder::with_connection_manager).
14409
+ * Connections close when the last `Arc<ConnectionManager>` is dropped;
14410
+ * [`BreezSdk::disconnect`](crate::BreezSdk::disconnect) does not affect them.
14411
+ *
14412
+ * All SDK instances sharing a `ConnectionManager` must be configured for the
14413
+ * same network and operator pool. The TLS settings and user agent of the
14414
+ * first SDK to connect to a given operator are reused for everyone afterwards.
14415
+ */
14416
+ export declare class ConnectionManager extends UniffiAbstractObject implements ConnectionManagerInterface {
14417
+ readonly [uniffiTypeNameSymbol] = "ConnectionManager";
14418
+ readonly [destructorGuardSymbol]: UniffiRustArcPtr;
14419
+ readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer;
14420
+ private constructor();
14421
+ /**
14422
+ * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
14423
+ */
14424
+ uniffiDestroy(): void;
14425
+ static instanceOf(obj: any): obj is ConnectionManager;
14426
+ }
14192
14427
  /**
14193
14428
  * External signer trait that can be implemented by users and passed to the SDK.
14194
14429
  *
@@ -15186,6 +15421,14 @@ export interface SdkBuilderInterface {
15186
15421
  withChainService(chainService: BitcoinChainService, asyncOpts_?: {
15187
15422
  signal: AbortSignal;
15188
15423
  }): Promise<void>;
15424
+ /**
15425
+ * Sets a shared connection manager to be reused across SDK instances.
15426
+ * Arguments:
15427
+ * - `connection_manager`: The shared connection manager.
15428
+ */
15429
+ withConnectionManager(connectionManager: ConnectionManagerInterface, asyncOpts_?: {
15430
+ signal: AbortSignal;
15431
+ }): Promise<void>;
15189
15432
  /**
15190
15433
  * Sets the root storage directory to initialize the default storage with.
15191
15434
  * This initializes both storage and real-time sync storage with the
@@ -15233,6 +15476,24 @@ export interface SdkBuilderInterface {
15233
15476
  withRestChainService(url: string, apiType: ChainApiType, credentials: Credentials | undefined, asyncOpts_?: {
15234
15477
  signal: AbortSignal;
15235
15478
  }): Promise<void>;
15479
+ /**
15480
+ * Sets a custom session manager used to persist authentication sessions.
15481
+ *
15482
+ * Provide a shared, persistent implementation (e.g. backed by `PostgreSQL`
15483
+ * or Redis) to let multiple SDK instances share authentication state and
15484
+ * bootstrap quickly. If not set, an in-memory session manager is used.
15485
+ */
15486
+ withSessionManager(sessionManager: SessionManager, asyncOpts_?: {
15487
+ signal: AbortSignal;
15488
+ }): Promise<void>;
15489
+ /**
15490
+ * Sets a shared SSP connection manager to be reused across SDK instances.
15491
+ * Arguments:
15492
+ * - `manager`: The shared SSP connection manager.
15493
+ */
15494
+ withSspConnectionManager(manager: SspConnectionManagerInterface, asyncOpts_?: {
15495
+ signal: AbortSignal;
15496
+ }): Promise<void>;
15236
15497
  /**
15237
15498
  * Sets the storage implementation to be used by the SDK.
15238
15499
  * Arguments:
@@ -15270,6 +15531,14 @@ export declare class SdkBuilder extends UniffiAbstractObject implements SdkBuild
15270
15531
  withChainService(chainService: BitcoinChainService, asyncOpts_?: {
15271
15532
  signal: AbortSignal;
15272
15533
  }): Promise<void>;
15534
+ /**
15535
+ * Sets a shared connection manager to be reused across SDK instances.
15536
+ * Arguments:
15537
+ * - `connection_manager`: The shared connection manager.
15538
+ */
15539
+ withConnectionManager(connectionManager: ConnectionManagerInterface, asyncOpts_?: {
15540
+ signal: AbortSignal;
15541
+ }): Promise<void>;
15273
15542
  /**
15274
15543
  * Sets the root storage directory to initialize the default storage with.
15275
15544
  * This initializes both storage and real-time sync storage with the
@@ -15317,6 +15586,24 @@ export declare class SdkBuilder extends UniffiAbstractObject implements SdkBuild
15317
15586
  withRestChainService(url: string, apiType: ChainApiType, credentials: Credentials | undefined, asyncOpts_?: {
15318
15587
  signal: AbortSignal;
15319
15588
  }): Promise<void>;
15589
+ /**
15590
+ * Sets a custom session manager used to persist authentication sessions.
15591
+ *
15592
+ * Provide a shared, persistent implementation (e.g. backed by `PostgreSQL`
15593
+ * or Redis) to let multiple SDK instances share authentication state and
15594
+ * bootstrap quickly. If not set, an in-memory session manager is used.
15595
+ */
15596
+ withSessionManager(sessionManager: SessionManager, asyncOpts_?: {
15597
+ signal: AbortSignal;
15598
+ }): Promise<void>;
15599
+ /**
15600
+ * Sets a shared SSP connection manager to be reused across SDK instances.
15601
+ * Arguments:
15602
+ * - `manager`: The shared SSP connection manager.
15603
+ */
15604
+ withSspConnectionManager(manager: SspConnectionManagerInterface, asyncOpts_?: {
15605
+ signal: AbortSignal;
15606
+ }): Promise<void>;
15320
15607
  /**
15321
15608
  * Sets the storage implementation to be used by the SDK.
15322
15609
  * Arguments:
@@ -15331,6 +15618,90 @@ export declare class SdkBuilder extends UniffiAbstractObject implements SdkBuild
15331
15618
  uniffiDestroy(): void;
15332
15619
  static instanceOf(obj: any): obj is SdkBuilder;
15333
15620
  }
15621
+ /**
15622
+ * Persistent storage for authentication sessions, keyed by the service's
15623
+ * identity public key. Implementations should be thread-safe and may be
15624
+ * backed by an in-memory map (default) or a shared database for cross-pod
15625
+ * auth sharing.
15626
+ */
15627
+ export interface SessionManager {
15628
+ getSession(serviceIdentityKey: PublicKey, asyncOpts_?: {
15629
+ signal: AbortSignal;
15630
+ }): Promise<Session>;
15631
+ setSession(serviceIdentityKey: PublicKey, session: Session, asyncOpts_?: {
15632
+ signal: AbortSignal;
15633
+ }): Promise<void>;
15634
+ }
15635
+ /**
15636
+ * Persistent storage for authentication sessions, keyed by the service's
15637
+ * identity public key. Implementations should be thread-safe and may be
15638
+ * backed by an in-memory map (default) or a shared database for cross-pod
15639
+ * auth sharing.
15640
+ */
15641
+ export declare class SessionManagerImpl extends UniffiAbstractObject implements SessionManager {
15642
+ readonly [uniffiTypeNameSymbol] = "SessionManagerImpl";
15643
+ readonly [destructorGuardSymbol]: UniffiRustArcPtr;
15644
+ readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer;
15645
+ private constructor();
15646
+ getSession(serviceIdentityKey: PublicKey, asyncOpts_?: {
15647
+ signal: AbortSignal;
15648
+ }): Promise<Session>;
15649
+ setSession(serviceIdentityKey: PublicKey, session: Session, asyncOpts_?: {
15650
+ signal: AbortSignal;
15651
+ }): Promise<void>;
15652
+ /**
15653
+ * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
15654
+ */
15655
+ uniffiDestroy(): void;
15656
+ static instanceOf(obj: any): obj is SessionManagerImpl;
15657
+ }
15658
+ /**
15659
+ * A shared HTTP transport for SSP GraphQL traffic.
15660
+ *
15661
+ * All SDK instances that are built with the same `SspConnectionManager` send
15662
+ * SSP requests over the same pooled `reqwest::Client`. This means each
15663
+ * process opens at most one TCP+TLS+HTTP/2 connection to the SSP regardless
15664
+ * of how many wallets are loaded — useful for multi-tenant servers running
15665
+ * many SDK instances.
15666
+ *
15667
+ * # Caveats
15668
+ *
15669
+ * - The user-agent of the first SDK to construct this manager is reused for
15670
+ * all subsequent instances. This is rarely a problem since SDK instances
15671
+ * in one process typically share a build version.
15672
+ * - Connections close when the last `Arc<SspConnectionManager>` is dropped.
15673
+ * `BreezSdk::disconnect` does not close them.
15674
+ */
15675
+ export interface SspConnectionManagerInterface {
15676
+ }
15677
+ /**
15678
+ * A shared HTTP transport for SSP GraphQL traffic.
15679
+ *
15680
+ * All SDK instances that are built with the same `SspConnectionManager` send
15681
+ * SSP requests over the same pooled `reqwest::Client`. This means each
15682
+ * process opens at most one TCP+TLS+HTTP/2 connection to the SSP regardless
15683
+ * of how many wallets are loaded — useful for multi-tenant servers running
15684
+ * many SDK instances.
15685
+ *
15686
+ * # Caveats
15687
+ *
15688
+ * - The user-agent of the first SDK to construct this manager is reused for
15689
+ * all subsequent instances. This is rarely a problem since SDK instances
15690
+ * in one process typically share a build version.
15691
+ * - Connections close when the last `Arc<SspConnectionManager>` is dropped.
15692
+ * `BreezSdk::disconnect` does not close them.
15693
+ */
15694
+ export declare class SspConnectionManager extends UniffiAbstractObject implements SspConnectionManagerInterface {
15695
+ readonly [uniffiTypeNameSymbol] = "SspConnectionManager";
15696
+ readonly [destructorGuardSymbol]: UniffiRustArcPtr;
15697
+ readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer;
15698
+ private constructor();
15699
+ /**
15700
+ * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
15701
+ */
15702
+ uniffiDestroy(): void;
15703
+ static instanceOf(obj: any): obj is SspConnectionManager;
15704
+ }
15334
15705
  /**
15335
15706
  * Trait for persistent storage
15336
15707
  */
@@ -16287,6 +16658,7 @@ declare const _default: Readonly<{
16287
16658
  lift(value: UniffiByteArray): ConnectWithSignerRequest;
16288
16659
  lower(value: ConnectWithSignerRequest): UniffiByteArray;
16289
16660
  };
16661
+ FfiConverterTypeConnectionManager: FfiConverterObject<ConnectionManagerInterface>;
16290
16662
  FfiConverterTypeContact: {
16291
16663
  read(from: RustBuffer): Contact;
16292
16664
  write(value: Contact, into: RustBuffer): void;
@@ -17020,6 +17392,7 @@ declare const _default: Readonly<{
17020
17392
  lift(value: UniffiByteArray): ProvisionalPaymentDetails;
17021
17393
  lower(value: ProvisionalPaymentDetails): UniffiByteArray;
17022
17394
  };
17395
+ FfiConverterTypePublicKey: FfiConverter<UniffiByteArray, string>;
17023
17396
  FfiConverterTypePublicKeyBytes: {
17024
17397
  read(from: RustBuffer): PublicKeyBytes;
17025
17398
  write(value: PublicKeyBytes, into: RustBuffer): void;
@@ -17225,6 +17598,21 @@ declare const _default: Readonly<{
17225
17598
  lift(value: UniffiByteArray): ServiceStatus;
17226
17599
  lower(value: ServiceStatus): UniffiByteArray;
17227
17600
  };
17601
+ FfiConverterTypeSession: {
17602
+ read(from: RustBuffer): Session;
17603
+ write(value: Session, into: RustBuffer): void;
17604
+ allocationSize(value: Session): number;
17605
+ lift(value: UniffiByteArray): Session;
17606
+ lower(value: Session): UniffiByteArray;
17607
+ };
17608
+ FfiConverterTypeSessionManager: FfiConverterObjectWithCallbacks<SessionManager>;
17609
+ FfiConverterTypeSessionManagerError: {
17610
+ read(from: RustBuffer): SessionManagerError;
17611
+ write(value: SessionManagerError, into: RustBuffer): void;
17612
+ allocationSize(value: SessionManagerError): number;
17613
+ lift(value: UniffiByteArray): SessionManagerError;
17614
+ lower(value: SessionManagerError): UniffiByteArray;
17615
+ };
17228
17616
  FfiConverterTypeSetLnurlMetadataItem: {
17229
17617
  read(from: RustBuffer): SetLnurlMetadataItem;
17230
17618
  write(value: SetLnurlMetadataItem, into: RustBuffer): void;
@@ -17330,6 +17718,7 @@ declare const _default: Readonly<{
17330
17718
  lift(value: UniffiByteArray): SparkStatus;
17331
17719
  lower(value: SparkStatus): UniffiByteArray;
17332
17720
  };
17721
+ FfiConverterTypeSspConnectionManager: FfiConverterObject<SspConnectionManagerInterface>;
17333
17722
  FfiConverterTypeStableBalanceActiveLabel: {
17334
17723
  read(from: RustBuffer): StableBalanceActiveLabel;
17335
17724
  write(value: StableBalanceActiveLabel, into: RustBuffer): void;