@avalabs/avacloud-waas-react 1.0.0-canary.1

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.
@@ -0,0 +1,622 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as _cubist_labs_cubesigner_sdk from '@cubist-labs/cubesigner-sdk';
3
+ import { CubeSignerClient, IdentityProof } from '@cubist-labs/cubesigner-sdk';
4
+ import { PropsWithChildren, ButtonHTMLAttributes, ReactNode } from 'react';
5
+ import { ButtonProps } from '@avalabs/core-k2-components';
6
+ import { Hex, Signature, TransactionRequest, Hash } from 'viem';
7
+ import * as _tanstack_react_query_build_legacy_types from '@tanstack/react-query/build/legacy/types';
8
+ import { CreateConnectorFn } from '@wagmi/core';
9
+
10
+ /**
11
+ * Cubist wallet information
12
+ */
13
+ interface CubistWalletInfo {
14
+ /** Ethereum wallet address */
15
+ address: string;
16
+ /** Cubist session ID */
17
+ sessionId: string;
18
+ /** Cubist organization ID */
19
+ orgId: string;
20
+ }
21
+ /**
22
+ * Wallet information structure
23
+ */
24
+ interface WalletInfo {
25
+ /** Wallet address (null if no wallet is connected) */
26
+ address: string | null;
27
+ /** Optional HD wallet account index */
28
+ accountIndex?: number;
29
+ /** Optional mnemonic ID for hierarchical deterministic wallets */
30
+ mnemonicId?: string;
31
+ /** Optional Avalanche P-Chain/X-Chain address */
32
+ avaAddress?: string;
33
+ /** Optional Cubist wallet information */
34
+ cubistWallet?: CubistWalletInfo;
35
+ }
36
+
37
+ /**
38
+ * User information returned after authentication
39
+ */
40
+ interface UserInfo {
41
+ /** User's email address */
42
+ email?: string;
43
+ /** Unique subject identifier */
44
+ sub: string;
45
+ /** List of configured multi-factor authentication methods */
46
+ configured_mfa: string[];
47
+ /** User's display name */
48
+ displayName?: string;
49
+ /** Raw user data from Auth0 */
50
+ rawUserData?: Auth0User$1;
51
+ /** Additional properties that may be available */
52
+ [key: string]: unknown;
53
+ }
54
+ /**
55
+ * Auth0 user object structure
56
+ */
57
+ interface Auth0User$1 {
58
+ /** User's email address */
59
+ email?: string;
60
+ /** User's nickname */
61
+ nickname?: string;
62
+ /** Unique subject identifier */
63
+ sub: string;
64
+ /** Additional properties that may be available */
65
+ [key: string]: unknown;
66
+ }
67
+
68
+ /**
69
+ * Organization configuration types
70
+ */
71
+ /**
72
+ * Admin portal settings within organization configuration
73
+ */
74
+ interface AdminPortalSettings {
75
+ /**
76
+ * Array of enabled social login providers
77
+ * Possible values: 'google', 'facebook', 'x', 'twitter', 'apple'
78
+ * Note: Some providers like 'facebook' may be in development and not fully supported
79
+ */
80
+ socialLogins?: string[];
81
+ [key: string]: unknown;
82
+ }
83
+ /**
84
+ * Organization configuration interface
85
+ */
86
+ interface OrgConfig {
87
+ /** Primary key of the organization */
88
+ PKey?: string;
89
+ /** Secondary key of the organization */
90
+ SKey?: string;
91
+ /** Organization ID */
92
+ orgID?: string;
93
+ /** Wallet provider organization ID used for Cubist */
94
+ walletProviderOrgID?: string;
95
+ /** Admin portal settings */
96
+ adminPortalSettings?: AdminPortalSettings;
97
+ /** Allowed origins for CORS */
98
+ originAllowlist?: string[];
99
+ /** Timestamp when the config was created */
100
+ createdAt?: number;
101
+ /** Timestamp when the config was last updated */
102
+ updatedAt?: number;
103
+ [key: string]: unknown;
104
+ }
105
+
106
+ /**
107
+ * Authentication message payload structure
108
+ */
109
+ interface AuthMessagePayload {
110
+ /** OAuth ID token */
111
+ idToken?: string;
112
+ /** User claims object */
113
+ claims?: Record<string, unknown>;
114
+ /** Optional message content */
115
+ message?: string;
116
+ /** User identifier */
117
+ userId?: string;
118
+ }
119
+ /**
120
+ * Registration payload with identity proof
121
+ */
122
+ interface RegisterPayload extends AuthMessagePayload {
123
+ /** Identity proof for registration */
124
+ proof: {
125
+ /** Identity information */
126
+ identity: {
127
+ /** Issuer */
128
+ iss: string;
129
+ /** Subject */
130
+ sub: string;
131
+ };
132
+ /** User email */
133
+ email: string;
134
+ /** Preferred username */
135
+ preferred_username?: string;
136
+ /** Additional user information */
137
+ user_info?: {
138
+ /** User ID */
139
+ user_id?: string;
140
+ };
141
+ };
142
+ }
143
+
144
+ /**
145
+ * Avalanche Virtual Machine types
146
+ */
147
+ declare enum VM {
148
+ /** Ethereum Virtual Machine (C-Chain) */
149
+ EVM = "EVM",
150
+ /** Avalanche Virtual Machine (X-Chain) */
151
+ AVM = "AVM",
152
+ /** Platform Virtual Machine (P-Chain) */
153
+ PVM = "PVM"
154
+ }
155
+
156
+ type QueryClient = {
157
+ invalidateQueries: (options: {
158
+ queryKey: string[];
159
+ }) => void;
160
+ };
161
+
162
+ /**
163
+ * Possible AvaCloud environments
164
+ */
165
+ type AvaCloudEnvironment = 'development' | 'staging' | 'production';
166
+ interface Auth0User {
167
+ email?: string;
168
+ email_verified?: boolean;
169
+ family_name?: string;
170
+ given_name?: string;
171
+ name?: string;
172
+ nickname?: string;
173
+ picture?: string;
174
+ sub: string;
175
+ updated_at?: string;
176
+ [key: string]: string | boolean | number | null | undefined;
177
+ }
178
+ type MessageType = 'IFRAME_READY' | 'CHECK_AUTH_STATUS' | 'AUTH_STATUS' | 'GET_OIDC' | 'RECEIVE_OIDC' | 'LOGIN_REQUEST' | 'SIGNUP_REQUEST' | 'LOGOUT_REQUEST' | 'REGISTER' | 'REGISTER_SUCCESS' | 'AUTH_STATE_UPDATE' | 'WALLET_KEYS_UPDATE' | 'WALLET_KEYS_ERROR' | 'ADD_ACCOUNT' | 'ERROR';
179
+ interface BaseAuthMessage {
180
+ type: MessageType;
181
+ requestId?: string;
182
+ }
183
+ interface IframeReadyMessage extends BaseAuthMessage {
184
+ type: 'IFRAME_READY';
185
+ }
186
+ interface CheckAuthStatusMessage extends BaseAuthMessage {
187
+ type: 'CHECK_AUTH_STATUS';
188
+ payload?: {
189
+ orgId: string;
190
+ environment?: AvaCloudEnvironment;
191
+ };
192
+ }
193
+ interface AuthStatusMessage extends BaseAuthMessage {
194
+ type: 'AUTH_STATUS';
195
+ isAuthenticated: boolean;
196
+ user?: Auth0User;
197
+ userId?: string;
198
+ tokens?: {
199
+ access_token: string;
200
+ id_token: string;
201
+ };
202
+ orgConfig?: {
203
+ id: string;
204
+ cubistOrgId?: string;
205
+ [key: string]: unknown;
206
+ };
207
+ }
208
+ interface GetOidcMessage extends BaseAuthMessage {
209
+ type: 'GET_OIDC';
210
+ }
211
+ interface ReceiveOidcMessage extends BaseAuthMessage {
212
+ type: 'RECEIVE_OIDC';
213
+ payload: {
214
+ idToken: string;
215
+ };
216
+ }
217
+ interface LoginRequestMessage extends BaseAuthMessage {
218
+ type: 'LOGIN_REQUEST';
219
+ email?: string;
220
+ password?: string;
221
+ connection?: string;
222
+ }
223
+ interface SignupRequestMessage extends BaseAuthMessage {
224
+ type: 'SIGNUP_REQUEST';
225
+ email?: string;
226
+ password?: string;
227
+ }
228
+ interface LogoutRequestMessage extends BaseAuthMessage {
229
+ type: 'LOGOUT_REQUEST';
230
+ }
231
+ interface RegisterMessage extends BaseAuthMessage {
232
+ type: 'REGISTER';
233
+ payload: {
234
+ proof: IdentityProof;
235
+ };
236
+ }
237
+ interface RegisterSuccessMessage extends BaseAuthMessage {
238
+ type: 'REGISTER_SUCCESS';
239
+ payload: {
240
+ userId: string;
241
+ };
242
+ }
243
+ interface AuthStateUpdateMessage extends BaseAuthMessage {
244
+ type: 'AUTH_STATE_UPDATE';
245
+ payload: {
246
+ isAuthenticated: boolean;
247
+ authLoading: boolean;
248
+ hasClient: boolean;
249
+ hasKeys: boolean;
250
+ cubistLoading: boolean;
251
+ error?: string;
252
+ status: 'error' | 'unauthenticated' | 'no_client' | 'no_keys' | 'ready' | 'loading';
253
+ };
254
+ }
255
+ interface WalletKeysUpdateMessage extends BaseAuthMessage {
256
+ type: 'WALLET_KEYS_UPDATE';
257
+ payload: {
258
+ address: string;
259
+ key: string;
260
+ allKeys: string[];
261
+ };
262
+ }
263
+ interface WalletKeysErrorMessage extends BaseAuthMessage {
264
+ type: 'WALLET_KEYS_ERROR';
265
+ payload: {
266
+ error: string;
267
+ };
268
+ }
269
+ interface AddAccountMessage extends BaseAuthMessage {
270
+ type: 'ADD_ACCOUNT';
271
+ payload: {
272
+ accountIndex: number;
273
+ mnemonicId: string;
274
+ derivationPath: string;
275
+ identityProof: {
276
+ email?: string;
277
+ displayName?: string;
278
+ sub: string;
279
+ configured_mfa: string[];
280
+ };
281
+ };
282
+ }
283
+ interface ErrorMessage extends BaseAuthMessage {
284
+ type: 'ERROR';
285
+ error?: string;
286
+ payload?: string;
287
+ }
288
+ type AuthMessage = IframeReadyMessage | CheckAuthStatusMessage | AuthStatusMessage | GetOidcMessage | ReceiveOidcMessage | LoginRequestMessage | SignupRequestMessage | LogoutRequestMessage | RegisterMessage | RegisterSuccessMessage | AuthStateUpdateMessage | WalletKeysUpdateMessage | WalletKeysErrorMessage | AddAccountMessage | ErrorMessage;
289
+ /**
290
+ * Props for the AvaCloudWalletProvider component
291
+ */
292
+ interface AvaCloudWalletProviderProps {
293
+ children: React.ReactNode;
294
+ orgId: string;
295
+ chainId?: number;
296
+ darkMode?: boolean;
297
+ env?: AvaCloudEnvironment;
298
+ onAuthSuccess?: (user: UserInfo) => void;
299
+ onAuthError?: (error: Error) => void;
300
+ onWalletUpdate?: (wallet: WalletInfo) => void;
301
+ }
302
+ /**
303
+ * Context type for AvaCloud authentication state and actions
304
+ */
305
+ interface AvaCloudWalletContextType {
306
+ isAuthenticated: boolean;
307
+ isLoading: boolean;
308
+ user: UserInfo | null;
309
+ wallet: WalletInfo;
310
+ orgConfig: OrgConfig | null;
311
+ logout: () => void;
312
+ loginWithCubist: (oidcToken?: string) => Promise<void>;
313
+ cubistClient: CubeSignerClient | null;
314
+ cubistError: Error | null;
315
+ login: () => void;
316
+ signup: (email: string, password: string) => void;
317
+ addAccount: (accountIndex: number) => Promise<void>;
318
+ queryClient: QueryClient;
319
+ iframe: HTMLIFrameElement | null;
320
+ authServiceUrl: string;
321
+ chainId: number;
322
+ environment: AvaCloudEnvironment;
323
+ }
324
+
325
+ declare function AvaCloudWalletProvider({ children, orgId, chainId, darkMode, env, onAuthSuccess, onAuthError, onWalletUpdate, }: AvaCloudWalletProviderProps): react_jsx_runtime.JSX.Element;
326
+ declare function useAvaCloudWallet(): AvaCloudWalletContextType;
327
+
328
+ interface ThemeContextType {
329
+ isDarkMode: boolean;
330
+ toggleTheme: () => void;
331
+ }
332
+ interface ThemeProviderProps extends PropsWithChildren {
333
+ darkMode?: boolean;
334
+ onDarkModeChange?: (isDark: boolean) => void;
335
+ }
336
+ declare const useThemeMode: () => ThemeContextType;
337
+ declare function ThemeProvider({ children, darkMode, onDarkModeChange }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
338
+
339
+ interface LoginButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, Pick<ButtonProps, 'color'> {
340
+ label?: string;
341
+ className?: string;
342
+ }
343
+ declare function LoginButton({ label, className, ...props }: LoginButtonProps): react_jsx_runtime.JSX.Element;
344
+
345
+ interface WalletButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, Pick<ButtonProps, 'color'> {
346
+ label?: string;
347
+ className?: string;
348
+ }
349
+ declare function WalletButton({ label, className, ...props }: WalletButtonProps): react_jsx_runtime.JSX.Element;
350
+
351
+ interface WalletDisplayProps {
352
+ className?: string;
353
+ truncateAddress?: boolean;
354
+ showAddAccount?: boolean;
355
+ }
356
+ declare function WalletDisplay({ className, truncateAddress, showAddAccount, }: WalletDisplayProps): react_jsx_runtime.JSX.Element | null;
357
+
358
+ interface UserProfileProps {
359
+ className?: string;
360
+ showLogout?: boolean;
361
+ }
362
+ declare function UserProfile({ className, showLogout, }: UserProfileProps): react_jsx_runtime.JSX.Element | null;
363
+
364
+ interface WalletCardProps {
365
+ onClose?: () => void;
366
+ className?: string;
367
+ }
368
+ declare function WalletCard({ onClose }: WalletCardProps): react_jsx_runtime.JSX.Element | null;
369
+
370
+ interface BlockchainData {
371
+ chainId: string;
372
+ chainName: string;
373
+ description: string;
374
+ platformChainId: string;
375
+ subnetId: string;
376
+ vmId: string;
377
+ vmName: string;
378
+ explorerUrl: string;
379
+ rpcUrl: string;
380
+ wsUrl: string;
381
+ isTestnet: boolean;
382
+ utilityAddresses: {
383
+ multicall: string;
384
+ };
385
+ networkToken: {
386
+ name: string;
387
+ symbol: string;
388
+ decimals: number;
389
+ logoUri: string;
390
+ description: string;
391
+ };
392
+ chainLogoUri: string;
393
+ private: boolean;
394
+ enabledFeatures: string[];
395
+ }
396
+ interface TokenReputation {
397
+ verified: boolean;
398
+ popular: boolean;
399
+ risky: boolean;
400
+ }
401
+ interface NativeToken {
402
+ chainId: string;
403
+ name: string;
404
+ symbol: string;
405
+ decimals: number;
406
+ price?: {
407
+ currencyCode: string;
408
+ value: number;
409
+ };
410
+ balance: string;
411
+ logoUri: string;
412
+ }
413
+ interface ERC20Token {
414
+ ercType: string;
415
+ chainId: string;
416
+ address: string;
417
+ name: string;
418
+ symbol: string;
419
+ decimals: number;
420
+ balance: string;
421
+ tokenReputation: TokenReputation | null;
422
+ logoUri?: string;
423
+ }
424
+
425
+ interface TokensViewProps {
426
+ onBack: () => void;
427
+ onSend?: (token: ERC20Token | NativeToken) => void;
428
+ }
429
+ declare function TokensView({ onSend }: TokensViewProps): react_jsx_runtime.JSX.Element;
430
+
431
+ interface SendViewProps {
432
+ onBack: () => void;
433
+ onViewStateChange?: (state: ViewState) => void;
434
+ selectedToken?: ERC20Token | NativeToken;
435
+ }
436
+ type ViewState = 'form' | 'loading' | 'success' | 'failure' | 'idle';
437
+ declare function SendView({ onBack, onViewStateChange, selectedToken: initialToken }: SendViewProps): react_jsx_runtime.JSX.Element;
438
+
439
+ interface ReceiveViewProps {
440
+ onBack: () => void;
441
+ }
442
+ declare function ReceiveView(_props: ReceiveViewProps): react_jsx_runtime.JSX.Element;
443
+
444
+ interface ExportViewProps {
445
+ onBack: () => void;
446
+ }
447
+ declare function ExportView({ onBack }: ExportViewProps): react_jsx_runtime.JSX.Element;
448
+
449
+ declare function useAuth(): {
450
+ isAuthenticated: boolean;
451
+ isLoading: boolean;
452
+ user: UserInfo | null;
453
+ wallet: WalletInfo;
454
+ login: () => void;
455
+ logout: () => void;
456
+ loginWithCubist: (oidcToken?: string | undefined) => Promise<void>;
457
+ cubistClient: _cubist_labs_cubesigner_sdk.CubeSignerClient | null;
458
+ cubistError: Error | null;
459
+ };
460
+
461
+ interface NextData {
462
+ props: {
463
+ pageProps: Record<string, unknown>;
464
+ };
465
+ }
466
+ declare global {
467
+ interface Window {
468
+ __NEXT_DATA__?: NextData;
469
+ }
470
+ }
471
+ interface PostMessageConfig {
472
+ authServiceUrl: string;
473
+ orgId: string;
474
+ environment: AvaCloudEnvironment;
475
+ iframe: HTMLIFrameElement | null;
476
+ isIframeReady: boolean;
477
+ onAuthSuccess?: () => void;
478
+ onAuthError?: (error: Error) => void;
479
+ onWalletUpdate?: (newWallet: WalletInfo) => void;
480
+ onOidcReceived?: (token: string) => void;
481
+ onOrgConfigUpdate?: (config: Record<string, unknown>) => void;
482
+ setIsAuthenticated: (isAuthenticated: boolean) => void;
483
+ setUser: (user: UserInfo | null) => void;
484
+ setIsLoading: (isLoading: boolean) => void;
485
+ setIsIframeReady: (isReady: boolean) => void;
486
+ wallet: WalletInfo;
487
+ cubistClient: CubeSignerClient | null;
488
+ }
489
+ declare function usePostMessage({ authServiceUrl, orgId, environment, iframe, isIframeReady, onAuthSuccess, onAuthError, onOidcReceived, onOrgConfigUpdate, setIsAuthenticated, setUser, setIsLoading, setIsIframeReady, cubistClient, }: PostMessageConfig): {
490
+ sendMessage: (message: {
491
+ type: string;
492
+ payload?: Record<string, unknown>;
493
+ requestId?: string;
494
+ }) => void;
495
+ };
496
+
497
+ interface SignMessageState {
498
+ isLoading: boolean;
499
+ error: string | null;
500
+ signature: Hex | null;
501
+ }
502
+ interface UseSignMessageReturn extends SignMessageState {
503
+ signMessage: (message: string) => Promise<void>;
504
+ reset: () => void;
505
+ }
506
+ declare function useSignMessage(): UseSignMessageReturn;
507
+
508
+ interface SignTransactionState {
509
+ isLoading: boolean;
510
+ error: string | null;
511
+ signature: Signature | null;
512
+ signedTransaction: Hex | null;
513
+ }
514
+ interface UseSignTransactionReturn extends SignTransactionState {
515
+ signTransaction: (transaction: TransactionRequest) => Promise<void>;
516
+ reset: () => void;
517
+ }
518
+ declare function useSignTransaction(): UseSignTransactionReturn;
519
+
520
+ interface ChainIdControls {
521
+ chainId: number;
522
+ setChainId: (chainId: number) => void;
523
+ }
524
+ declare function useChainId(): ChainIdControls;
525
+
526
+ interface TransferState {
527
+ isLoading: boolean;
528
+ error: string | null;
529
+ txHash: Hash | null;
530
+ viewState: 'idle' | 'loading' | 'success' | 'failure';
531
+ actualBaseFee: string | null;
532
+ actualPriorityFee: string | null;
533
+ actualTotalFee: string | null;
534
+ }
535
+ interface UseTransferTokensReturn extends TransferState {
536
+ transfer: (toAddress: string, amount: string) => Promise<void>;
537
+ transferERC20: (tokenAddress: string, toAddress: string, amount: string, decimals: number) => Promise<void>;
538
+ reset: () => void;
539
+ }
540
+ declare function useTransferTokens(): UseTransferTokensReturn;
541
+
542
+ interface UseUserWalletsResult {
543
+ getWallets: (client: CubeSignerClient) => Promise<WalletInfo[]>;
544
+ error: Error | null;
545
+ isLoading: boolean;
546
+ }
547
+ declare function useUserWallets(): UseUserWalletsResult;
548
+
549
+ declare function useGlacier(): {
550
+ balance: string;
551
+ isLoadingBalance: boolean;
552
+ currencySymbol: string;
553
+ blockchain: BlockchainData | undefined;
554
+ };
555
+ declare function useBlockchain(chainId: string): _tanstack_react_query_build_legacy_types.UseQueryResult<BlockchainData, Error>;
556
+
557
+ declare function avaCloudWallet(): CreateConnectorFn;
558
+
559
+ interface GaslessConfig {
560
+ /** URL of the AvaCloud gasless relayer RPC endpoint */
561
+ relayerUrl: string;
562
+ /** Public JSON-RPC endpoint of the target subnet */
563
+ subnetRpcUrl: string;
564
+ /** Forwarder contract address provided by AvaCloud */
565
+ forwarderAddress: string;
566
+ /** EIP-712 domain name, e.g. "domain" */
567
+ domainName: string;
568
+ /** EIP-712 domain version, e.g. "1" */
569
+ domainVersion: string;
570
+ /** Primary type for the request, e.g. "Message" */
571
+ requestType: string;
572
+ /** Suffix for the request in format "type name" (e.g. "bytes32 XMKUCJONOFSUSFCYHTYHCLX") */
573
+ suffix?: string;
574
+ }
575
+ interface FetchGaslessConfigParams {
576
+ orgId: string;
577
+ subnetId: string;
578
+ }
579
+ interface GaslessProviderProps {
580
+ children: ReactNode;
581
+ /** Optional pre-fetched config (skip network fetch when supplied) */
582
+ config?: GaslessConfig;
583
+ /** Parameters required to fetch config from the auth service */
584
+ fetchParams?: FetchGaslessConfigParams;
585
+ }
586
+ /**
587
+ * GaslessProvider – supplies gasless relayer configuration to hooks
588
+ *
589
+ * NOTE: For security reasons, this provider expects the configuration to be
590
+ * provided by the integrator. The intention is that your backend (or
591
+ * another trusted environment) fetches the relayer configuration via
592
+ * AvaCloud's internal endpoint and forwards the non-sensitive parts
593
+ * (relayer URL, forwarder address, etc.) to the browser.
594
+ */
595
+ declare function GaslessProvider({ children, config, fetchParams }: GaslessProviderProps): react_jsx_runtime.JSX.Element;
596
+
597
+ interface GaslessTxState {
598
+ isLoading: boolean;
599
+ error: string | null;
600
+ txHash: string | null;
601
+ }
602
+ interface SendGaslessTransactionParams {
603
+ functionName: string;
604
+ args?: unknown[];
605
+ abi?: unknown;
606
+ contractAddress?: string;
607
+ }
608
+ interface UseGaslessTransactionReturn extends GaslessTxState {
609
+ sendGaslessTransaction: (params: SendGaslessTransactionParams) => Promise<void>;
610
+ reset: () => void;
611
+ }
612
+ interface UseGaslessTransactionOptions {
613
+ /** Gasless transaction configuration */
614
+ gaslessConfig: GaslessConfig;
615
+ /** Default contract address (can be overridden per call) */
616
+ contractAddress?: string;
617
+ /** Default ABI (can be overridden per call) */
618
+ abi?: unknown;
619
+ }
620
+ declare function useGaslessTransaction({ gaslessConfig, contractAddress: defaultContractAddress, abi: defaultAbi }: UseGaslessTransactionOptions): UseGaslessTransactionReturn;
621
+
622
+ export { type AddAccountMessage, type AdminPortalSettings, type Auth0User, type AuthMessage, type AuthMessagePayload, type AuthStateUpdateMessage, type AuthStatusMessage, type AvaCloudEnvironment, type AvaCloudWalletContextType, AvaCloudWalletProvider, type AvaCloudWalletProviderProps, type BaseAuthMessage, type CheckAuthStatusMessage, type CubistWalletInfo, type ErrorMessage, ExportView, GaslessProvider, type GetOidcMessage, type IframeReadyMessage, LoginButton, type LoginRequestMessage, type LogoutRequestMessage, type MessageType, type OrgConfig, type ReceiveOidcMessage, ReceiveView, type RegisterMessage, type RegisterPayload, type RegisterSuccessMessage, SendView, type SignupRequestMessage, ThemeProvider, TokensView, type UserInfo, UserProfile, VM, WalletButton, WalletCard, WalletDisplay, type WalletInfo, type WalletKeysErrorMessage, type WalletKeysUpdateMessage, avaCloudWallet, useAuth, useAvaCloudWallet, useBlockchain, useChainId, useGaslessTransaction, useGlacier, usePostMessage, useSignMessage, useSignTransaction, useThemeMode, useTransferTokens, useUserWallets };