import { Call } from '../hooks/useCall'; import { Awaited, ContractMethodNames, Falsy, TypedContract } from '../model/types'; import { RawCall, RawCallResult } from '../providers'; import { QueryParams } from '../constants/type/QueryParams'; import { ChainId } from '../constants/chainId'; /** * @internal Intended for internal use - use it on your own risk */ export declare function warnOnInvalidCall(call: Call | Falsy): void; /** * @internal Intended for internal use - use it on your own risk */ export declare function encodeCallData(call: Call | Falsy, chainId: number, queryParams?: QueryParams): RawCall | Falsy; /** * @internal Intended for internal use - use it on your own risk */ export declare function getUniqueActiveCalls(requests: RawCall[]): RawCall[]; export interface RefreshOptions { blockNumber?: number; chainId?: ChainId; } /** * @internal Intended for internal use - use it on your own risk */ export declare function getCallsForUpdate(requests: RawCall[], options?: RefreshOptions): RawCall[]; /** * Result of a multicall call. * @public */ export declare type CallResult> = { value: Awaited>; error: undefined; } | { value: undefined; error: Error; } | undefined; /** * @internal Intended for internal use - use it on your own risk */ export declare function decodeCallResult>(call: Call | Falsy, result: RawCallResult): CallResult; //# sourceMappingURL=calls.d.ts.map