import { ZkEvmProvider } from './zkEvm/zkEvmProvider'; import { ConnectWalletOptions } from './types'; /** * Connect wallet with the provided configuration * * @param config - Wallet configuration * @returns EIP-1193 compliant provider with multi-chain support * * If getUser is not provided, a default implementation using @imtbl/auth will be created. * * @example Using external auth (e.g., NextAuth) * ```typescript * import { connectWallet } from '@imtbl/wallet'; * import { useImmutableSession } from '@imtbl/auth-next-client'; * * const { getUser } = useImmutableSession(); * const provider = await connectWallet({ getUser }); * ``` * * @example Using default auth (simplest setup) * ```typescript * import { connectWallet } from '@imtbl/wallet'; * * // Uses default Immutable-hosted authentication * const provider = await connectWallet(); * const accounts = await provider.request({ method: 'eth_requestAccounts' }); * ``` */ export declare function connectWallet(config?: ConnectWalletOptions): Promise;