import type { Client } from '../../clients/createClient.js'; import type { Transport } from '../../clients/transports/createTransport.js'; import type { Abi } from '../../strk-types/abi.js'; import type { BlockTag } from '../../strk-types/lib.js'; import type { Chain } from '../../types/chain.js'; import type { Hash } from '../../types/misc.js'; export type PrimaryReadContractParameters = { address: string; abi: Abi; functionName: string; args?: any[]; }; export type SecondaryReadContractParameters = { blockHash?: Hash | undefined; blockNumber?: undefined; blockTag?: undefined; } | { blockHash?: undefined; blockNumber?: number | undefined; blockTag?: undefined; } | { blockHash?: undefined; blockNumber?: undefined; blockTag?: BlockTag | undefined; } | { blockHash?: Hash | undefined; blockNumber?: number | undefined; blockTag?: BlockTag | undefined; }; export type ReadContractParameters = PrimaryReadContractParameters & SecondaryReadContractParameters; export type ReadContractReturnTypes = any; export type ReadContractErrorType = any; export declare function readContract(client: Client, parameters: ReadContractParameters): Promise; //# sourceMappingURL=readContract.d.ts.map