import { WalletKit, WalletKitClient } from "walletkit-js"; import { EthereumProviderRequestArgs, Transaction, User, WalletKitClientOpts } from "./types.ts"; export type WalletKitConnectOpts = { projectId: string; appLogoUrl?: string; initialNetwork?: WalletKit.Network; environment?: string; walletType?: WalletKit.WalletType; }; export declare class WalletKitConnect { #private; appLogoUrl: string; activeEnvironment: string; activeNetwork: WalletKit.Network; activeAddress?: string; constructor(opts: WalletKitConnectOpts); user(): Promise; connect(opts?: { promptForPasskeyIfNeeded?: boolean; }): Promise; switchNetwork({ network, environment }: { network?: WalletKit.Network; environment?: string; }): Promise; disconnect(): Promise; signAndSendTransactions(transactions: Transaction[]): Promise; signMessage(message: string): Promise; get client(): WalletKitClient; get clientOpts(): WalletKitClientOpts; get ethereumProvider(): { request: (args: EthereumProviderRequestArgs) => Promise; }; get ethereumSigner(): { getAddress: () => Promise<`0x${string}`>; signMessage: (msg: string | Uint8Array) => Promise<`0x${string}`>; signTypedData: (params: unknown) => Promise<`0x${string}`>; }; }