import type { TAbiItem, TAbiInput, TAbiOutput } from 'dequanto/types/TAbi'; export declare namespace $abiParser { function getReturnType(abi: TAbiItem): 'array' | 'object' | 'uint256' | 'boolean' | 'buffer' | string; function getReturnTypeFromTypes(outputs: TAbiOutput[]): 'array' | 'object' | 'uint256' | 'boolean' | 'buffer' | string; /** * foo(uint256):address * function foo(uint256): (address account, uint256 value) * function foo(uint256) returns (address) */ function parseMethod(methodAbi: string): TAbiItem; /** * Parses Solidity struct declarations into a tuple ABI component. * Supports multiple declarations so later structs can reference earlier ones, * and returns the ABI component for the last struct in the input. */ function parseStruct(struct: string): TAbiItem; function parseArguments(line: string): TAbiInput[]; }