import { Auth } from '@imtbl/auth'; import { MultiRollupApiClients } from '@imtbl/generated-clients'; export type LinkWalletParams = { type: string; walletAddress: string; signature: string; nonce: string; }; export type LinkedWallet = { address: string; type: string; created_at: string; updated_at: string; name?: string; clientName: string; }; /** * Get all addresses linked to the current user's account * @param auth - Auth instance to get current user * @param apiClient - MultiRollupApiClients instance for API calls * @returns Array of linked addresses * @throws WalletError if user is not logged in */ export declare function getLinkedAddresses(auth: Auth, apiClient: MultiRollupApiClients): Promise; /** * Link an external wallet to the current user's account * @param auth - Auth instance to get current user * @param apiClient - MultiRollupApiClients instance for API calls * @param params - Link wallet parameters * @returns Linked wallet information * @throws WalletError if user is not logged in, not registered, or linking fails */ export declare function linkExternalWallet(auth: Auth, apiClient: MultiRollupApiClients, params: LinkWalletParams): Promise;