import { type Address } from "viem"; export interface IWallet { chainId: number; account: Address; assets: WalletAsset[]; } export interface AssetAllowances { assetForVault: bigint; assetForPermit2: bigint; assetForVaultInPermit2: bigint; permit2ExpirationTime: number; permit2Nonce: number; } export interface WalletAsset { account: Address; asset: Address; balance: bigint; allowances: Record
; } export declare class Wallet implements IWallet { chainId: number; account: Address; assets: WalletAsset[]; constructor(wallet: IWallet); getAsset(asset: Address): WalletAsset | undefined; getBalance(asset: Address): bigint; /** * Native (gas) token balance. The wallet adapter fetches it via * `eth_getBalance` when the zero address is among the requested assets and * stores it as a `WalletAsset` keyed by the zero address, so this is just an * explicit accessor for that convention. */ getNativeBalance(): bigint; getAllowances(asset: Address, spender: Address): AssetAllowances | undefined; } //# sourceMappingURL=Wallet.d.ts.map