import { DataType } from '../types'; /** * Adds any value to a descriptor, checks the * descriptor type to determine the handler * @param dataType the descriptor to add the value to * @param value the value to add to the descriptor */ export declare const describeDataType: (dataType: DataType, value: any) => void; /** * Adds a base value (boolean, string, number) to a descriptor * @param dataType the descriptor to add the value to * @param value the value to add to the descriptor */ export declare const describeBaseValue: (dataType: DataType, value: boolean | string | number) => void; /** * Adds a BigInt value to a descriptor as a string * @param dataType the descriptor to add the value to * @param value the value to add to the descriptor */ export declare const describeBigInt: (dataType: DataType, value: bigint) => void; /** * Adds an address value (Uint8Array or string) to a descriptor * @param dataType the descriptor to add the value to * @param value the value to add to the descriptor */ export declare const describeAddress: (dataType: DataType, value: string | Uint8Array) => void; /** * Adds a byte value (Uint8Array or string) to a descriptor * @param dataType the descriptor to add the value to * @param value the value to add to the descriptor */ export declare const describeBytes: (dataType: DataType, value: string | Uint8Array | null) => void; /** * Adds the array value to an array descriptor * @param dataType the array descriptor to add the value to * @param value the value to add to the array descriptor */ export declare const describeArray: (dataType: DataType, values: Array) => void; /** * Adds values to the children of an object descriptor * @param dataType the object descriptor to add values to * @param value the values to add to the object descriptor */ export declare const describeObject: (dataType: DataType, value: Record) => void; //# sourceMappingURL=generic.d.ts.map