import { type AbiParameter } from 'abitype'; import { type ChecksumAddressErrorType } from '../address/getAddress.js'; import { type SizeErrorType } from '../data/size.js'; import { type SliceBytesErrorType } from '../data/slice.js'; import { type TrimErrorType } from '../data/trim.js'; import { type BytesToBigIntErrorType, type BytesToBoolErrorType, type BytesToNumberErrorType, type BytesToStringErrorType } from '../encoding/fromBytes.js'; import { type HexToBytesErrorType } from '../encoding/toBytes.js'; import { type BytesToHexErrorType } from '../encoding/toHex.js'; import { type InvalidAbiDecodingTypeErrorType } from '../errors/abi.js'; import type { ErrorType } from '../errors/utils.js'; import type { Bytes, Hex } from '../types/data.js'; import { type CreateCursorErrorType } from '../utils/cursor.js'; import { type IsomorphicAbiParameter, type IsomorphicAbiParametersToPrimitiveTypes } from './encode.js'; export type DecodeAbiParametersReturnType = IsomorphicAbiParametersToPrimitiveTypes; export type DecodeAbiParametersErrorType = HexToBytesErrorType | BytesToHexErrorType | DecodeParameterErrorType | SizeErrorType | CreateCursorErrorType | ErrorType; export declare function decodeAbiParameters(params: params, data: Bytes | Hex): DecodeAbiParametersReturnType; type DecodeParameterErrorType = DecodeArrayErrorType | DecodeTupleErrorType | DecodeAddressErrorType | DecodeBoolErrorType | DecodeBytesErrorType | DecodeNumberErrorType | DecodeStringErrorType | InvalidAbiDecodingTypeErrorType; type DecodeAddressErrorType = ChecksumAddressErrorType | BytesToHexErrorType | SliceBytesErrorType | ErrorType; type DecodeArrayErrorType = BytesToNumberErrorType | ErrorType; type DecodeBoolErrorType = BytesToBoolErrorType | ErrorType; type DecodeBytesErrorType = BytesToNumberErrorType | BytesToHexErrorType | ErrorType; type DecodeNumberErrorType = BytesToNumberErrorType | BytesToBigIntErrorType | ErrorType; type DecodeTupleErrorType = BytesToNumberErrorType | ErrorType; type DecodeStringErrorType = BytesToNumberErrorType | BytesToStringErrorType | TrimErrorType | ErrorType; export {}; //# sourceMappingURL=decode.d.ts.map