import { Fragment, JsonFragment, ParamType } from 'ethers'; import { DataType } from '../types'; export type ABI = string | ReadonlyArray; /** * Returns a hex representation of a base64 encoded cbor string * @param base64 the base64 encoded cbor string to convert to hex * @returns the hex representation of the base64 encoded cbor string */ export declare const cborToHex: (base64: string) => string; /** * Converts a ParamType array to an Object DataType with the params as its Children * @param name the name to assign to the Object DataType * @param params the ABI function fragment's inputs or outputs * @returns the Object DataType with the params as its Children */ export declare const abiParamsToDataType: (name: string, params: ReadonlyArray) => DataType; /** * Converts a ParamType to a DataType * @param param the ParamType to convert to a DataType * @returns the DataType created from the ParamType */ export declare const abiParamToDataType: (param: ParamType) => DataType; //# sourceMappingURL=abi.d.ts.map