import type { Abi, ExtractAbiFunctionNames } from 'abitype'; import { AbiFunctionSignatureNotFoundError } from '../../errors/abi.js'; import type { GetFunctionArgs } from '../../types/contract.js'; import type { Hex } from '../../types/misc.js'; import { type SliceErrorType } from '../data/slice.js'; import { type GetFunctionSelectorErrorType } from '../hash/getFunctionSelector.js'; import type { ErrorType } from '../../errors/utils.js'; import { type DecodeAbiParametersErrorType } from './decodeAbiParameters.js'; import { type FormatAbiItemErrorType } from './formatAbiItem.js'; export type DecodeFunctionDataParameters = { abi: TAbi; data: Hex; }; export type DecodeFunctionDataReturnType : string> = { [TName in _FunctionNames]: { args: GetFunctionArgs['args']; functionName: TName; }; }[_FunctionNames]; export type DecodeFunctionDataErrorType = AbiFunctionSignatureNotFoundError | DecodeAbiParametersErrorType | FormatAbiItemErrorType | GetFunctionSelectorErrorType | SliceErrorType | ErrorType; export declare function decodeFunctionData({ abi, data, }: DecodeFunctionDataParameters): DecodeFunctionDataReturnType : string>; //# sourceMappingURL=decodeFunctionData.d.ts.map