import type { HardwareWalletVendor } from '../hardwareWallet/hardwareWallet.types';
import type { WalletAccount } from '../walletAccount';
type ConnectWithWalletProviderParams = {
    addToDynamicWalletAccounts?: boolean;
    hardwareWalletVendor?: HardwareWalletVendor;
    walletProviderKey: string;
};
/**
 * Connects to a wallet provider and returns the connected wallet account.
 *
 * Note: This function will not verify the wallet account, use the verifyWalletAccount function to do that
 * or connectAndVerifyWithWalletProvider to do that in a single step.
 * @see verifyWalletAccount
 * @see connectAndVerifyWithWalletProvider
 *
 * @param params.walletProviderKey - The unique key identifying the wallet provider to connect to (e.g. 'metamaskevm', 'phantomsol').
 * @param [params.addToDynamicWalletAccounts] - Whether to add the connected wallet account to the user's wallet accounts. Defaults to true.
 * @param [params.hardwareWalletVendor] - The hardware wallet vendor, if connecting via a hardware wallet (e.g. 'ledger').
 * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
 * @returns A promise that resolves to the connected wallet account.
 * @throws NoAddressFoundError If the request to connect was successful but no address is connected to your app.
  * @instrumented
 */
export declare const connectWithWalletProvider: ({ walletProviderKey, addToDynamicWalletAccounts, hardwareWalletVendor, }: ConnectWithWalletProviderParams, client?: import("../../../exports").DynamicClient) => Promise<WalletAccount>;
export {};
//# sourceMappingURL=connectWithWalletProvider.d.ts.map