import * as viem from 'viem'; import { EVM } from '../config/chain.cjs'; import { EVMOptions } from '../config/evm/contract.evm.cjs'; import 'viem/chains'; import '@solana/web3.js'; declare const multicall: (chainType: EVM, options?: EVMOptions) => { read: { [x: string]: (...parameters: [options?: viem.Prettify, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly unknown[], options?: viem.Prettify, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise; }; estimateGas: { [x: string]: (...parameters: [options: viem.Prettify, "address" | "abi" | "args" | "functionName">>] | [args: readonly unknown[], options: viem.Prettify, "address" | "abi" | "args" | "functionName">>]) => Promise; } & { [x: string]: (...parameters: [options: viem.Prettify, "address" | "abi" | "args" | "functionName">>] | [args: readonly unknown[], options: viem.Prettify, "address" | "abi" | "args" | "functionName">>]) => Promise; }; simulate: { [x: string]: (...parameters: [options?: Omit, "address" | "abi" | "args" | "functionName"> | undefined] | [args: readonly unknown[], options?: Omit, "address" | "abi" | "args" | "functionName"> | undefined]) => Promise; }; createEventFilter: { [x: string]: (...parameters: [options?: ({ fromBlock?: bigint | viem.BlockTag | undefined; toBlock?: bigint | viem.BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined] | [args: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; eventName?: undefined; fromBlock?: undefined; strict?: undefined; toBlock?: undefined; args?: undefined; }, options?: ({ fromBlock?: bigint | viem.BlockTag | undefined; toBlock?: bigint | viem.BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined]) => Promise; }; getEvents: { [x: string]: (...parameters: [options?: { blockHash?: `0x${string}` | undefined; strict?: boolean | undefined; fromBlock?: bigint | viem.BlockTag | undefined; toBlock?: bigint | viem.BlockTag | undefined; } | undefined] | [args?: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; args?: undefined; eventName?: undefined; fromBlock?: undefined; onError?: undefined; onLogs?: undefined; strict?: undefined; poll?: undefined; batch?: undefined; pollingInterval?: undefined; } | undefined, options?: { blockHash?: `0x${string}` | undefined; strict?: boolean | undefined; fromBlock?: bigint | viem.BlockTag | undefined; toBlock?: bigint | viem.BlockTag | undefined; } | undefined]) => Promise>; }; watchEvent: { [x: string]: (...parameters: [options?: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; fromBlock?: bigint | undefined; onError?: ((error: Error) => void) | undefined | undefined; onLogs: viem.WatchContractEventOnLogsFn<({ inputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; name?: undefined; anonymous?: undefined; outputs?: undefined; } | { inputs: { internalType: string; name: string; type: string; }[]; name: string; type: string; stateMutability?: undefined; anonymous?: undefined; outputs?: undefined; } | { anonymous: boolean; inputs: { indexed: boolean; internalType: string; name: string; type: string; }[]; name: string; type: string; stateMutability?: undefined; outputs?: undefined; } | { stateMutability: string; type: string; inputs?: undefined; name?: undefined; anonymous?: undefined; outputs?: undefined; } | { inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; anonymous?: undefined; } | { inputs: { components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; anonymous?: undefined; })[], string, undefined>; poll?: true | undefined | undefined; } | undefined] | [args: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; args?: undefined; eventName?: undefined; fromBlock?: undefined; onError?: undefined; onLogs?: undefined; strict?: undefined; poll?: undefined; batch?: undefined; pollingInterval?: undefined; }, options?: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; fromBlock?: bigint | undefined; onError?: ((error: Error) => void) | undefined | undefined; onLogs: viem.WatchContractEventOnLogsFn<({ inputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; name?: undefined; anonymous?: undefined; outputs?: undefined; } | { inputs: { internalType: string; name: string; type: string; }[]; name: string; type: string; stateMutability?: undefined; anonymous?: undefined; outputs?: undefined; } | { anonymous: boolean; inputs: { indexed: boolean; internalType: string; name: string; type: string; }[]; name: string; type: string; stateMutability?: undefined; outputs?: undefined; } | { stateMutability: string; type: string; inputs?: undefined; name?: undefined; anonymous?: undefined; outputs?: undefined; } | { inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; anonymous?: undefined; } | { inputs: { components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; anonymous?: undefined; })[], string, undefined>; poll?: true | undefined | undefined; } | undefined]) => viem.WatchContractEventReturnType; }; write: { [x: string]: , "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never, Rest extends unknown[] = [options: options]>(...parameters: Rest | [args: readonly unknown[], ...parameters: Rest]) => Promise; }; address: "0x{string}"; abi: ({ inputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; name?: undefined; anonymous?: undefined; outputs?: undefined; } | { inputs: { internalType: string; name: string; type: string; }[]; name: string; type: string; stateMutability?: undefined; anonymous?: undefined; outputs?: undefined; } | { anonymous: boolean; inputs: { indexed: boolean; internalType: string; name: string; type: string; }[]; name: string; type: string; stateMutability?: undefined; outputs?: undefined; } | { stateMutability: string; type: string; inputs?: undefined; name?: undefined; anonymous?: undefined; outputs?: undefined; } | { inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; anonymous?: undefined; } | { inputs: { components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; anonymous?: undefined; })[]; }; export { multicall };