import type { IOBuffer } from 'iobuffer'; /** * Parse a number into their respective type * @param type - integer that represents the type * @returns - parsed value of the type */ export declare function num2str(type: number): string; /** * Parse a number type identifier to his size in bytes * @param type - integer that represents the type * @returns size of the type */ export declare function num2bytes(type: number): number; /** * Reverse search of num2str * @param type - string that represents the type * @returns parsed value of the type */ export declare function str2num(type: string): number; /** * Given a type and a size reads the next element * @param buffer - Buffer for the file data * @param type - Type of the data to read * @param size - Size of the element to read * @returns */ export declare function readType(buffer: IOBuffer, type: number, size: number): string | number | number[]; //# sourceMappingURL=types.d.ts.map