import type { TAbiItem, TAbiInput } from '../types/TAbi'; import { ParamType } from '../abi/fragments'; import { TEth } from '../models/TEth'; export declare namespace $abiUtils { function encodePacked(types: string[], values: any[]): TEth.Hex; function encodePacked(typeValues: [string, any][]): TEth.Hex; function encodePacked(types: ReadonlyArray, values: ReadonlyArray): TEth.Hex; function encodePacked(...typeValues: { type: string; value: any; }[]): TEth.Hex; function encodePacked(...typeValues: [string, any][]): TEth.Hex; function encode(typeValues: [string, any][]): TEth.Hex; function encode(types: ReadonlyArray, values: any[]): TEth.Hex; function decode(types: (string | ParamType | TAbiInput)[], data: string): { args: any[]; params: { [key: string]: any; }; }; function decodePacked(types: string | string[] | ParamType[] | TAbiInput | TAbiInput[] | ParamType, data: string): T; /** Returns complete method/event hash */ function getMethodHash(mix: string | TAbiItem): `0x${string}`; function getMethodSignature(mix: string | TAbiItem): string; function serializeMethodCallData(abi: string | TAbiItem, params?: any[]): TEth.Hex; function parseMethodCallData(mixAbi: string | TAbiItem | TAbiItem[], mixInput: TEth.BufferLike | Pick): { name: string; args: any[]; params: { [key: string]: any; }; value: string | number | bigint; }; function getTopicSignature(abi: TAbiItem): `0x${string}`; function checkInterfaceOf(abi: TAbiItem[], iface: TAbiItem[]): { ok: boolean; missing?: string; }; function isDynamicType(type: string): boolean; function isReadMethod(abi: TAbiItem): boolean; function fromAliasIfAny(type: string): string; }