import { EthereumProvider } from "@aztec/sdk"; import WalletConnectProvider from "@walletconnect/web3-provider"; import { WalletProvider } from "./wallet_provider.js"; declare type EthereumProviderNotifications = "connect" | "disconnect" | "chainChanged" | "accountsChanged" | "message"; interface RequestArguments { readonly method: string; readonly params?: any[]; } export declare class WalletConnectEthereumProvider implements EthereumProvider { private ethereumProvider; private readonly pollingInterval; private readonly pollingTimeout; constructor(ethereumProvider: EthereumProvider); on(notification: EthereumProviderNotifications, listener: (...args: any) => void): this; removeListener(notification: EthereumProviderNotifications, listener: (...args: any) => void): this; request(args: RequestArguments): Promise; private signMessage; private handleSendTransaction; private depositFundsToContract; private getUserPendingDeposit; private approveProof; private getUserProofApprovalStatus; private approveDeposit; private getUserAllowance; private sendTransactionAndPoll; private getLatestTxHash; } export declare class WalletconnectProvider implements WalletProvider { private provider; ethereumProvider: EthereumProvider; constructor(provider: WalletConnectProvider.default); get connected(): boolean; connect(): Promise; disconnect(): Promise; } export declare const createWalletconnectProvider: (infuraId: string) => Promise; export {};