import { IFrameEthereumProvider } from "@ledgerhq/iframe-provider"; import type { Chain } from "@wagmi/core"; import { Connector } from "@wagmi/core"; import { providers } from "ethers"; import { PriorityConnectors } from "../core/constants"; type IFrameEthereumProviderOptions = ConstructorParameters[0]; export declare class IFrameEthereumConnector extends Connector { readonly id = PriorityConnectors.LedgerLive; readonly name = "Ledger Live"; readonly ready = true; providerInstance?: IFrameEthereumProvider; connect({ chainId }?: { chainId?: number; }): Promise<{ account: `0x${string}`; chain: { id: number; unsupported: boolean; }; provider: IFrameEthereumProvider; }>; disconnect(): Promise; getAccount(): Promise<`0x${string}`>; getChainId(): Promise; getProvider(): Promise; getSigner(): Promise; isAuthorized(): Promise; switchChain(chainId: number): Promise; watchAsset({ address, decimals, image, symbol, }: { address: string; decimals?: number; image?: string; symbol: string; }): Promise; protected onAccountsChanged: (accounts: string[]) => void; protected onChainChanged: (chainId: number | string) => void; protected isUserRejectedRequestError(error: unknown): boolean; protected onDisconnect: () => void; } export {};