import { Chain } from '../../../components/RainbowKitProvider/RainbowKitChainContext'; import { Wallet } from '../../Wallet'; import type { WalletConnectConnectorOptions, WalletConnectLegacyConnectorOptions } from '../../getWalletConnectConnector'; export interface LedgerWalletLegacyOptions { projectId?: string; chains: Chain[]; walletConnectVersion: '1'; walletConnectOptions?: WalletConnectLegacyConnectorOptions; } export interface LedgerWalletOptions { projectId: string; chains: Chain[]; walletConnectVersion?: '2'; walletConnectOptions?: WalletConnectConnectorOptions; } export declare const ledgerWallet: ({ chains, projectId, walletConnectOptions, walletConnectVersion, }: LedgerWalletLegacyOptions | LedgerWalletOptions) => Wallet;