import type { Abi } from "abitype"; import { ContractFunctionName } from "viem"; import { ContractFunctionReturnType } from "./types/contract"; /** * Reads data from a smart contract using the Coinbase API. * * @template TAbi - The ABI type. * @template TFunctionName - The contract function name type. * @template TArgs - The function arguments type. * @param {object} params - The parameters for reading the contract. * @param {string} params.networkId - The network ID. * @param {string} params.contractAddress - The contract address (as a hexadecimal string). * @param {TFunctionName} params.method - The contract method to call. * @param {TArgs} params.args - The arguments for the contract method. * @param {TAbi} [params.abi] - The contract ABI (optional). * @returns {Promise} The result of the contract call. */ export declare function readContract : string, TArgs extends Record>(params: { networkId: string; contractAddress: `0x${string}`; method: TFunctionName; args: TArgs; abi?: TAbi; }): Promise>, TArgs> : any>;