/** * Viem adapter implementation * Viem is a modern TypeScript-first Ethereum library */ import { PublicClient, WalletClient, Account, Address, Hex, Abi, Chain, Transport } from 'viem'; import { BlockchainAdapter, ContractCallResult, ViemAdapterOptions } from './types'; export declare class ViemAdapter implements BlockchainAdapter { private publicClient; private walletClient?; private account?; constructor(publicClient: PublicClient, walletClient?: WalletClient | null, account?: Account | Address); constructor(options: ViemAdapterOptions); call(contractAddress: Address, abi: Abi, functionName: string, args?: readonly unknown[]): Promise; send(contractAddress: Address, abi: Abi, functionName: string, args?: readonly unknown[], overrides?: { value?: bigint; gas?: bigint; gasPrice?: bigint; maxFeePerGas?: bigint; maxPriorityFeePerGas?: bigint; nonce?: number; account?: Address; chain?: Chain; }): Promise; encodeFunctionData(contractAddress: Address, abi: Abi, functionName: string, args?: readonly unknown[]): Promise; getAddress(): Promise
; getChainId(): Promise; signMessage(message: string | Uint8Array): Promise; signTypedData>(domain: any, types: any, value: TTypedData): Promise; } //# sourceMappingURL=viem.d.ts.map