import type { TAbiItem } from '../types/TAbi'; import { ITxLogItem } from '../txs/receipt/ITxLogItem'; import { TBufferLike } from '../models/TBufferLike'; import { TEth } from '../models/TEth'; export declare namespace $contract { function keccak256(str: string | TBufferLike, output: 'buffer'): Uint8Array; function keccak256(str: string | TBufferLike, output?: 'hex'): TEth.Hex; function normalizeArgs(args: any[]): any; function extractLogsForAbi(tx: TEth.TxReceipt, abiItem: string | TAbiItem): ITxLogItem[]; function parseInputData(inputHex: string, abis: TAbiItem[]): { method: string; params: any; }; function decodeDeploymentArguments(input: TEth.Hex, ctorAbi: TAbiItem): { args: any[]; params: { [key: string]: any; }; encoded: `0x${string}`; }; function parseDeploymentBytecode(input: TEth.Hex): { bytecode: string; arguments: string; }; function decodeCustomError(errorDataHex: string | { type: any; params: any; } | any, abiArr: TAbiItem[]): any; function parseLogWithAbi(log: TEth.Log, mix: TAbiItem[] | TAbiItem | string): ITxLogItem; function formatCall(call: { method?: any; type?: any; params?: any; }): string; function formatCallFromAbi(abi: TAbiItem, params: any[]): string; namespace store { interface IContractMeta { name?: string; address?: TEth.Address; abi: TAbiItem[]; } export function getFlattened(): TAbiItem[]; export function register(contract: { address?: TEth.Address; name?: string; abi: TAbiItem[]; }): void; export function has(address: TEth.Address): boolean; export function getContract(address: TEth.Address): IContractMeta; export function getAbiItem(selector: TEth.Hex): TAbiItem; export {}; } }