import { TAbiInput, TAbiItem } from 'dequanto/types/TAbi'; import { ParamType } from './fragments'; import { TEth } from 'dequanto/models/TEth'; export declare namespace $abiCoder { type TAbiType = string | ParamType | TAbiInput; type TDecodeOptions = { loose?: boolean; dynamic?: boolean; }; export function encode(types: TAbiType, values: any): TEth.Hex; export function encode(types: TAbiType[], values: any[]): TEth.Hex; export function encodeSingle(type: TAbiType, value: any): TEth.Hex; export function encodePacked(types: string[], values: any[]): TEth.Hex; export function decode(types: TAbiType, hex: string, opts?: TDecodeOptions): any; export function decode(types: TAbiType[], hex: string, opts?: TDecodeOptions): any[]; export function decodeSingle(type: TAbiType, hex: string, opts?: TDecodeOptions): any; export function normalizeType(type: TAbiType): TAbiItem | TAbiType; export {}; }