import { InputTypeMap, Narrow, TypeMapper } from './types'; /** * Encode the data with the provided types. * * @param types The types to encode. * @param values The values to encode. This array must have the same length as the types array. * @return The ABI encoded buffer. */ export declare const encode: (types: import("./types").Try, values: { [K_11 in keyof T]: T[K_11] extends T[number] ? InputTypeMap[T[K_11]] : unknown; }) => Uint8Array; /** * Decode an ABI encoded buffer with the specified types. * * @param types The types to decode the buffer with. * @param buffer The buffer to decode. * @return The decoded values as array. */ export declare const decode: (types: import("./types").Try, buffer: Uint8Array) => { [K_11 in keyof T]: T[K_11] extends T[number] ? import("./types").OutputTypeMap[T[K_11]] : unknown; };