@doujins/payments-ui 0.0.11 → 0.0.13

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.
package/dist/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- import React from 'react';
2
- import { StoreApi } from 'zustand';
3
- import { PublicKey } from '@solana/web3.js';
4
- import * as zustand_vanilla from 'zustand/vanilla';
1
+ import React$1 from 'react';
2
+ import * as _solana_wallet_adapter_base from '@solana/wallet-adapter-base';
5
3
  import * as _tanstack_react_query from '@tanstack/react-query';
4
+ import { QueryClient } from '@tanstack/react-query';
5
+ import { PublicKey } from '@solana/web3.js';
6
+ import * as react_jsx_runtime from 'react/jsx-runtime';
6
7
 
7
8
  type AuthTokenProvider = (() => string | null | undefined) | (() => Promise<string | null | undefined>) | null | undefined;
8
9
  interface PaymentUserDetails {
@@ -27,6 +28,12 @@ interface PaymentFeatureFlags {
27
28
  enableSolanaPay?: boolean;
28
29
  enableDirectWallet?: boolean;
29
30
  }
31
+ interface PaymentSolanaConfig {
32
+ endpoint?: string;
33
+ network?: _solana_wallet_adapter_base.WalletAdapterNetwork;
34
+ autoConnect?: boolean;
35
+ wallets?: _solana_wallet_adapter_base.WalletAdapter[];
36
+ }
30
37
  interface PaymentCallbacks {
31
38
  onStatusChange?: (payload: PaymentStatusPayload) => void;
32
39
  onSuccess?: (payload: PaymentSuccessPayload) => void;
@@ -53,7 +60,15 @@ interface PaymentConfig {
53
60
  callbacks?: PaymentCallbacks;
54
61
  collectJsKey?: string;
55
62
  solanaRpcUrl?: string;
63
+ solana?: PaymentSolanaConfig;
56
64
  }
65
+ type NotificationStatus = 'default' | 'success' | 'info' | 'destructive';
66
+ interface NotificationPayload {
67
+ title: string;
68
+ description?: string;
69
+ status?: NotificationStatus;
70
+ }
71
+ type NotificationHandler = (payload: NotificationPayload) => void;
57
72
 
58
73
  interface BillingDetails {
59
74
  firstName: string;
@@ -93,6 +108,41 @@ interface PaginatedPaymentMethods {
93
108
  total?: number;
94
109
  next_page?: number | null;
95
110
  }
111
+ interface Payment {
112
+ id: string;
113
+ subscription_id?: string | null;
114
+ processor: string;
115
+ transaction_id: string;
116
+ amount: number;
117
+ currency: string;
118
+ purchased_at: string;
119
+ status?: string;
120
+ description?: string;
121
+ }
122
+ interface PaginatedPayments {
123
+ data: Payment[];
124
+ total_items: number;
125
+ limit?: number;
126
+ offset?: number;
127
+ page?: number;
128
+ page_size?: number;
129
+ total_pages?: number;
130
+ }
131
+ interface BillingAccessGrant {
132
+ kind: string;
133
+ entitlement: string;
134
+ subscription_id?: string | null;
135
+ processor?: string | null;
136
+ processor_subscription_id?: string | null;
137
+ source_type?: string | null;
138
+ source_id?: string | null;
139
+ start_at?: string | null;
140
+ end_at?: string | null;
141
+ }
142
+ interface BillingStatus {
143
+ is_premium: boolean;
144
+ access: BillingAccessGrant[];
145
+ }
96
146
 
97
147
  interface GeneratePaymentRequest {
98
148
  price_id: string;
@@ -278,6 +328,40 @@ interface SubscriptionCheckoutPayload {
278
328
  billing: BillingDetails;
279
329
  }
280
330
 
331
+ interface SolanaWallet {
332
+ id: string;
333
+ address: string;
334
+ is_verified: boolean;
335
+ verified_at?: string;
336
+ created_at: string;
337
+ updated_at?: string;
338
+ user_id?: string;
339
+ }
340
+ interface WalletListResponse {
341
+ wallets: SolanaWallet[];
342
+ count: number;
343
+ }
344
+ interface WalletChallengeResponse {
345
+ wallet: string;
346
+ message: string;
347
+ expires_at: number;
348
+ nonce: string;
349
+ }
350
+ interface VerifyWalletResponse {
351
+ verified: boolean;
352
+ wallet: string;
353
+ verified_at?: string;
354
+ linked_wallet?: SolanaWallet;
355
+ }
356
+ interface WalletConnectionState {
357
+ isConnected: boolean;
358
+ isConnecting: boolean;
359
+ publicKey: string | null;
360
+ wallets: SolanaWallet[];
361
+ isLoading: boolean;
362
+ error: string | null;
363
+ }
364
+
281
365
  type RequestOptions = {
282
366
  params?: Record<string, string | number>;
283
367
  query?: Record<string, string | number | undefined>;
@@ -367,13 +451,32 @@ declare class SubscriptionService {
367
451
  constructor(api: ApiClient);
368
452
  subscribe(platform: PaymentPlatform, payload: NmiSubscribePayload | CCBillSubscribePayload): Promise<SubscriptionResponse>;
369
453
  generateFlexFormUrl(payload: GenerateFlexFormURLBodyParams): Promise<FlexFormResponse>;
454
+ getPaymentHistory(params?: {
455
+ limit?: number;
456
+ offset?: number;
457
+ type?: string;
458
+ }): Promise<PaginatedPayments>;
459
+ cancelSubscription(feedback?: string): Promise<{
460
+ message: string;
461
+ success: boolean;
462
+ }>;
370
463
  private serializePayload;
371
464
  }
372
465
 
466
+ declare class SolanaWalletService {
467
+ private readonly api;
468
+ constructor(api: ApiClient);
469
+ list(): Promise<SolanaWallet[]>;
470
+ requestChallenge(wallet: string): Promise<WalletChallengeResponse>;
471
+ verify(wallet: string, signature: string, nonce?: string): Promise<VerifyWalletResponse>;
472
+ remove(wallet: string): Promise<void>;
473
+ }
474
+
373
475
  interface PaymentServices {
374
476
  cardPayments: CardPaymentService;
375
477
  paymentMethods: PaymentMethodService;
376
478
  solanaPayments: SolanaPaymentService;
479
+ solanaWallets: SolanaWalletService;
377
480
  tokenCatalog: TokenCatalog;
378
481
  walletGateway: WalletGateway;
379
482
  subscriptions: SubscriptionService;
@@ -396,46 +499,14 @@ declare class PaymentApp {
396
499
  resolveAuthToken: () => Promise<string | null>;
397
500
  }
398
501
 
399
- type AsyncStatus = 'idle' | 'processing' | 'success' | 'error';
400
- type SolanaFlowState = 'selecting' | 'processing' | 'confirming' | 'success' | 'error';
401
- interface PaymentStoreState {
402
- selectedMethodId: string | null;
403
- solanaModalOpen: boolean;
404
- savedPaymentStatus: AsyncStatus;
405
- savedPaymentError: string | null;
406
- newCardStatus: AsyncStatus;
407
- newCardError: string | null;
408
- solanaTab: 'wallet' | 'qr';
409
- solanaStatus: SolanaFlowState;
410
- solanaError: string | null;
411
- solanaTransactionId: string | null;
412
- solanaSelectedToken: string | null;
413
- solanaTokenAmount: number;
414
- setSelectedMethod: (methodId: string | null) => void;
415
- setSolanaModalOpen: (open: boolean) => void;
416
- setSolanaTab: (tab: 'wallet' | 'qr') => void;
417
- setSolanaSelectedToken: (symbol: string) => void;
418
- setSolanaTokenAmount: (amount: number) => void;
419
- setSolanaTransactionId: (txId: string | null) => void;
420
- startSavedPayment: () => void;
421
- completeSavedPayment: () => void;
422
- failSavedPayment: (error: string) => void;
423
- resetSavedPayment: () => void;
424
- startNewCardPayment: () => void;
425
- completeNewCardPayment: () => void;
426
- failNewCardPayment: (error: string) => void;
427
- resetNewCardPayment: () => void;
428
- startSolanaPayment: () => void;
429
- confirmSolanaPayment: () => void;
430
- completeSolanaPayment: (payload?: PaymentSuccessPayload) => void;
431
- failSolanaPayment: (error: string) => void;
432
- resetSolanaPayment: () => void;
433
- resetAll: () => void;
434
- }
435
- interface PaymentStoreOptions {
436
- callbacks?: PaymentCallbacks;
502
+ declare class PaymentsRuntime {
503
+ readonly config: PaymentConfig;
504
+ readonly app: PaymentApp;
505
+ readonly services: PaymentServices;
506
+ readonly queryClient: QueryClient;
507
+ constructor(config: PaymentConfig);
437
508
  }
438
- declare const createPaymentStore: (options?: PaymentStoreOptions) => zustand_vanilla.StoreApi<PaymentStoreState>;
509
+ declare const createPaymentsRuntime: (config: PaymentConfig) => PaymentsRuntime;
439
510
 
440
511
  interface PaymentContextValue {
441
512
  config: PaymentConfig;
@@ -443,15 +514,78 @@ interface PaymentContextValue {
443
514
  resolveAuthToken: () => Promise<string | null>;
444
515
  app: PaymentApp;
445
516
  services: PaymentServices;
446
- store: StoreApi<PaymentStoreState>;
517
+ queryClient: PaymentsRuntime['queryClient'];
447
518
  }
448
519
  interface PaymentProviderProps {
449
520
  config: PaymentConfig;
450
- children: React.ReactNode;
521
+ children: React$1.ReactNode;
522
+ runtime?: PaymentsRuntime;
451
523
  }
452
- declare const PaymentProvider: React.FC<PaymentProviderProps>;
524
+ declare const PaymentProvider: React$1.FC<PaymentProviderProps>;
453
525
  declare const usePaymentContext: () => PaymentContextValue;
454
526
 
527
+ interface SubscriptionCheckoutModalProps {
528
+ open: boolean;
529
+ onOpenChange: (open: boolean) => void;
530
+ priceId?: string | null;
531
+ usdAmount?: number;
532
+ planName?: string;
533
+ amountLabel?: string;
534
+ billingPeriodLabel?: string;
535
+ userEmail?: string | null;
536
+ provider?: string;
537
+ onSuccess?: () => void;
538
+ enableSolanaPay?: boolean;
539
+ onSolanaSuccess?: (result: SubmitPaymentResponse | string) => void;
540
+ onSolanaError?: (error: string) => void;
541
+ initialMode?: 'cards' | 'solana';
542
+ }
543
+ declare const SubscriptionCheckoutModal: React$1.FC<SubscriptionCheckoutModalProps>;
544
+
545
+ interface SolanaPaymentViewProps {
546
+ priceId: string;
547
+ usdAmount: number;
548
+ onSuccess: (result: SubmitPaymentResponse | string) => void;
549
+ onError?: (error: string) => void;
550
+ onClose?: () => void;
551
+ }
552
+ declare const SolanaPaymentView: React$1.FC<SolanaPaymentViewProps>;
553
+
554
+ interface SolanaPaymentSelectorProps extends SolanaPaymentViewProps {
555
+ isOpen: boolean;
556
+ onClose: () => void;
557
+ }
558
+ declare const SolanaPaymentSelector: React$1.FC<SolanaPaymentSelectorProps>;
559
+
560
+ interface WalletModalProps {
561
+ open: boolean;
562
+ onOpenChange: (open: boolean) => void;
563
+ }
564
+ declare const WalletModal: React.FC<WalletModalProps>;
565
+
566
+ type CheckoutOptions = Omit<SubscriptionCheckoutModalProps, 'open' | 'onOpenChange'>;
567
+ type SolanaOptions = Omit<SolanaPaymentSelectorProps, 'isOpen' | 'onClose'>;
568
+ type WalletOptions = Omit<WalletModalProps, 'open' | 'onOpenChange'>;
569
+ interface PaymentsDialogContextValue {
570
+ checkout: {
571
+ open: (options: CheckoutOptions) => void;
572
+ close: () => void;
573
+ isOpen: boolean;
574
+ };
575
+ solana: {
576
+ open: (options: SolanaOptions) => void;
577
+ close: () => void;
578
+ isOpen: boolean;
579
+ };
580
+ wallet: {
581
+ open: (options?: WalletOptions) => void;
582
+ close: () => void;
583
+ isOpen: boolean;
584
+ };
585
+ }
586
+ declare const PaymentsDialogProvider: React$1.FC<React$1.PropsWithChildren>;
587
+ declare const usePaymentDialogs: () => PaymentsDialogContextValue;
588
+
455
589
  interface CardDetailsFormProps {
456
590
  visible: boolean;
457
591
  onTokenize: (token: string, billing: BillingDetails) => void;
@@ -464,7 +598,7 @@ interface CardDetailsFormProps {
464
598
  onBillingChange?: (billing: BillingDetails) => void;
465
599
  submitDisabled?: boolean;
466
600
  }
467
- declare const CardDetailsForm: React.FC<CardDetailsFormProps>;
601
+ declare const CardDetailsForm: React$1.FC<CardDetailsFormProps>;
468
602
 
469
603
  interface StoredPaymentMethodsProps {
470
604
  selectedMethodId?: string | null;
@@ -473,7 +607,7 @@ interface StoredPaymentMethodsProps {
473
607
  heading?: string;
474
608
  description?: string;
475
609
  }
476
- declare const StoredPaymentMethods: React.FC<StoredPaymentMethodsProps>;
610
+ declare const StoredPaymentMethods: React$1.FC<StoredPaymentMethodsProps>;
477
611
 
478
612
  interface PaymentExperienceProps {
479
613
  priceId: string;
@@ -489,36 +623,66 @@ interface PaymentExperienceProps {
489
623
  enableNewCard?: boolean;
490
624
  enableStoredMethods?: boolean;
491
625
  enableSolanaPay?: boolean;
492
- checkoutSummary?: React.ReactNode;
493
626
  onSolanaSuccess?: (result: SubmitPaymentResponse | string) => void;
494
627
  onSolanaError?: (error: string) => void;
628
+ initialMode?: 'cards' | 'solana';
495
629
  }
496
- declare const PaymentExperience: React.FC<PaymentExperienceProps>;
630
+ declare const PaymentExperience: React$1.FC<PaymentExperienceProps>;
497
631
 
498
- interface SolanaPaymentSelectorProps {
499
- isOpen: boolean;
500
- priceId: string;
501
- usdAmount: number;
502
- onClose: () => void;
503
- onError?: (error: string) => void;
504
- onSuccess: (result: SubmitPaymentResponse | string) => void;
632
+ interface BillingHistoryProps {
633
+ pageSize?: number;
634
+ initialPage?: number;
635
+ enableCancel?: boolean;
636
+ onNotify?: NotificationHandler;
505
637
  }
506
- declare const SolanaPaymentSelector: React.FC<SolanaPaymentSelectorProps>;
638
+ declare const BillingHistory: React.FC<BillingHistoryProps>;
507
639
 
508
- interface SubscriptionCheckoutModalProps {
509
- open: boolean;
510
- onOpenChange: (open: boolean) => void;
511
- priceId?: string | null;
512
- usdAmount?: number;
513
- planName?: string;
514
- amountLabel?: string;
515
- billingPeriodLabel?: string;
640
+ interface CancelMembershipDialogProps {
641
+ minReasonLength?: number;
642
+ onCancelled?: () => void;
643
+ onNotify?: NotificationHandler;
644
+ }
645
+ declare const CancelMembershipDialog: React.FC<CancelMembershipDialogProps>;
646
+
647
+ interface PaymentMethodsSectionProps {
648
+ isAuthenticated?: boolean;
516
649
  userEmail?: string | null;
517
650
  provider?: string;
518
- onSuccess?: () => void;
519
- enableSolanaPay?: boolean;
651
+ defaultCountry?: string;
652
+ collectPrefix?: string;
653
+ onNotify?: NotificationHandler;
654
+ }
655
+ declare const PaymentMethodsSection: React.FC<PaymentMethodsSectionProps>;
656
+
657
+ interface SolanaWalletSectionProps {
658
+ onNotify?: NotificationHandler;
659
+ rpcUrl?: string;
660
+ }
661
+ declare const SolanaWalletSection: React.FC<SolanaWalletSectionProps>;
662
+
663
+ declare const WalletManagement: (props: SolanaWalletSectionProps) => react_jsx_runtime.JSX.Element;
664
+
665
+ interface WalletCardProps {
666
+ wallet: SolanaWallet;
667
+ isPrimary?: boolean;
668
+ isConnected?: boolean;
669
+ balance?: number | null;
670
+ onSetPrimary?: (walletId: string) => void;
671
+ onVerify?: (wallet: SolanaWallet) => void;
672
+ onDelete?: (walletId: string) => void;
673
+ isVerifying?: boolean;
674
+ isDeleting?: boolean;
675
+ notify?: NotificationHandler;
676
+ }
677
+ declare const WalletCard: React.FC<WalletCardProps>;
678
+
679
+ declare const EmptyWalletState: React.FC;
680
+
681
+ interface WalletDialogProps {
682
+ open: boolean;
683
+ onOpenChange: (open: boolean) => void;
520
684
  }
521
- declare const SubscriptionCheckoutModal: React.FC<SubscriptionCheckoutModalProps>;
685
+ declare const WalletDialog: React.FC<WalletDialogProps>;
522
686
 
523
687
  interface SubscriptionSuccessDialogProps {
524
688
  open: boolean;
@@ -527,7 +691,7 @@ interface SubscriptionSuccessDialogProps {
527
691
  billingPeriodLabel?: string;
528
692
  onClose: () => void;
529
693
  }
530
- declare const SubscriptionSuccessDialog: React.FC<SubscriptionSuccessDialogProps>;
694
+ declare const SubscriptionSuccessDialog: React$1.FC<SubscriptionSuccessDialogProps>;
531
695
 
532
696
  declare const usePaymentMethods: () => {
533
697
  listQuery: _tanstack_react_query.UseQueryResult<PaginatedPaymentMethods, Error>;
@@ -628,10 +792,14 @@ declare const usePaymentStatus: (options?: PaymentStatusHookOptions) => {
628
792
  isPending: boolean;
629
793
  };
630
794
 
631
- declare const usePaymentStore: <T>(selector: (state: PaymentStoreState) => T) => T;
632
-
633
795
  declare const useSolanaService: () => SolanaPaymentService;
634
796
 
797
+ declare const usePaymentNotifications: () => {
798
+ notifyStatus: (status: PaymentStatusPayload["status"], context?: Record<string, unknown>) => void;
799
+ notifySuccess: (payload?: PaymentSuccessPayload) => void;
800
+ notifyError: (error: string | Error) => void;
801
+ };
802
+
635
803
  interface UseSolanaDirectPaymentOptions {
636
804
  priceId: string;
637
805
  tokenAmount: number;
@@ -723,4 +891,42 @@ declare const useAlternativePaymentProvider: () => {
723
891
  error: string | null;
724
892
  };
725
893
 
726
- export { type AsyncStatus, type AuthTokenProvider, type BillingDetails, type CCBillSubscribePayload, CardDetailsForm, type CardDetailsFormProps, CardPaymentService, type CardTokenizeResult, type CreatePaymentMethodPayload, type FlexFormResponse, type GenerateFlexFormParams, type GenerateFlexFormURLBodyParams, type GeneratePaymentRequest, type GeneratePaymentResponse, type ListParams, type NmiSubscribePayload, type PaginatedPaymentMethods, PaymentApp, type PaymentAppOptions, type PaymentCallbacks, type PaymentConfig, type PaymentContextValue, type PaymentEndpoints, type PaymentError, PaymentExperience, type PaymentExperienceProps, type PaymentFeatureFlags, type PaymentFetcher, type PaymentMethod, type PaymentMethodOption, PaymentMethodService, type PaymentPlatform, PaymentProvider, type PaymentProviderProps, type PaymentServices, type PaymentState, type PaymentStatusPayload, type PaymentStatusResponse, type PaymentStep, type PaymentStoreOptions, type PaymentStoreState, type PaymentSuccessPayload, type PaymentUserDetails, type SolanaFlowConfig, type SolanaFlowState, type SolanaPayQRCodeIntent, type SolanaPayStatusResponse, type SolanaPayTransaction, type SolanaPaymentMethod, SolanaPaymentSelector, SolanaPaymentService, StoredPaymentMethods, type StoredPaymentMethodsProps, type SubmitPaymentRequest, type SubmitPaymentResponse, type SubscribeWithCCBillParams, type SubscribeWithCardParams, type SubscribeWithSavedMethodParams, SubscriptionCheckoutModal, type SubscriptionCheckoutPayload, type SubscriptionResponse, SubscriptionService, SubscriptionSuccessDialog, type SupportedTokensResponse, type TokenBalance, TokenCatalog, type TokenCatalogOptions, type TokenInfo, type TransactionStatus, type WalletAccount, type WalletAdapterLike, WalletGateway, createPaymentStore, useAlternativePaymentProvider, useDirectWalletPayment, usePaymentContext, usePaymentMethodService, usePaymentMethods, usePaymentStatus, usePaymentStore, useSolanaDirectPayment, useSolanaQrPayment, useSolanaService, useSubscriptionActions, useSupportedTokens, useTokenBalance };
894
+ interface UseWalletListOptions {
895
+ autoFetch?: boolean;
896
+ }
897
+ declare const useWalletList: (options?: UseWalletListOptions) => {
898
+ wallets: SolanaWallet[];
899
+ isLoading: boolean;
900
+ error: string | null;
901
+ fetchWallets: () => Promise<SolanaWallet[]>;
902
+ deleteWallet: (walletIdOrAddress: string) => Promise<void>;
903
+ addWallet: (wallet: SolanaWallet) => void;
904
+ updateWallet: (walletId: string, updates: Partial<SolanaWallet>) => void;
905
+ clearError: () => void;
906
+ findWalletByAddress: (address: string) => SolanaWallet | undefined;
907
+ getVerifiedWallets: () => SolanaWallet[];
908
+ hasVerifiedWallets: boolean;
909
+ totalWallets: number;
910
+ };
911
+
912
+ declare const useWalletVerification: () => {
913
+ signAndVerifyWallet: (walletAddress: string, message: string, nonce?: string) => Promise<VerifyWalletResponse>;
914
+ autoVerifyWallet: (walletAddress: string, message: string, nonce?: string) => Promise<VerifyWalletResponse | null>;
915
+ clearError: () => void;
916
+ resetVerification: () => void;
917
+ isVerifying: boolean;
918
+ isVerified: boolean;
919
+ error: string | null;
920
+ };
921
+
922
+ interface WalletConnectionResult extends WalletConnectionState {
923
+ walletName?: string;
924
+ walletIcon?: string;
925
+ connectWallet: () => Promise<void>;
926
+ disconnectWallet: () => Promise<void>;
927
+ connectWalletToBackend: (address: string) => Promise<WalletChallengeResponse>;
928
+ clearError: () => void;
929
+ }
930
+ declare const useWalletConnection: () => WalletConnectionResult;
931
+
932
+ export { type AuthTokenProvider, type BillingAccessGrant, type BillingDetails, BillingHistory, type BillingHistoryProps, type BillingStatus, type CCBillSubscribePayload, CancelMembershipDialog, type CancelMembershipDialogProps, CardDetailsForm, type CardDetailsFormProps, CardPaymentService, type CardTokenizeResult, type CreatePaymentMethodPayload, EmptyWalletState, type FlexFormResponse, type GenerateFlexFormParams, type GenerateFlexFormURLBodyParams, type GeneratePaymentRequest, type GeneratePaymentResponse, type ListParams, type NmiSubscribePayload, type NotificationHandler, type NotificationPayload, type NotificationStatus, type PaginatedPaymentMethods, type PaginatedPayments, type Payment, PaymentApp, type PaymentAppOptions, type PaymentCallbacks, type PaymentConfig, type PaymentContextValue, type PaymentEndpoints, type PaymentError, PaymentExperience, type PaymentExperienceProps, type PaymentFeatureFlags, type PaymentFetcher, type PaymentMethod, type PaymentMethodOption, PaymentMethodService, PaymentMethodsSection, type PaymentMethodsSectionProps, type PaymentPlatform, PaymentProvider, type PaymentProviderProps, type PaymentServices, type PaymentSolanaConfig, type PaymentState, type PaymentStatusPayload, type PaymentStatusResponse, type PaymentStep, type PaymentSuccessPayload, type PaymentUserDetails, PaymentsDialogProvider, PaymentsRuntime, type SolanaFlowConfig, type SolanaPayQRCodeIntent, type SolanaPayStatusResponse, type SolanaPayTransaction, type SolanaPaymentMethod, SolanaPaymentSelector, type SolanaPaymentSelectorProps, SolanaPaymentService, SolanaPaymentView, type SolanaPaymentViewProps, type SolanaWallet, SolanaWalletSection, type SolanaWalletSectionProps, SolanaWalletService, StoredPaymentMethods, type StoredPaymentMethodsProps, type SubmitPaymentRequest, type SubmitPaymentResponse, type SubscribeWithCCBillParams, type SubscribeWithCardParams, type SubscribeWithSavedMethodParams, SubscriptionCheckoutModal, type SubscriptionCheckoutModalProps, type SubscriptionCheckoutPayload, type SubscriptionResponse, SubscriptionService, SubscriptionSuccessDialog, type SupportedTokensResponse, type TokenBalance, TokenCatalog, type TokenCatalogOptions, type TokenInfo, type TransactionStatus, type VerifyWalletResponse, type WalletAccount, type WalletAdapterLike, WalletCard, type WalletChallengeResponse, type WalletConnectionState, WalletDialog, type WalletDialogProps, WalletGateway, type WalletListResponse, WalletManagement, WalletModal, type WalletModalProps, createPaymentsRuntime, useAlternativePaymentProvider, useDirectWalletPayment, usePaymentContext, usePaymentDialogs, usePaymentMethodService, usePaymentMethods, usePaymentNotifications, usePaymentStatus, useSolanaDirectPayment, useSolanaQrPayment, useSolanaService, useSubscriptionActions, useSupportedTokens, useTokenBalance, useWalletConnection, useWalletList, useWalletVerification };