export declare class FormatHelper {
    /**
     * Convert a string to byte buffer
     * @param str
     */
    static toByteBuffer(str: string): Uint8Array;
    static toHexString(buffer: Uint8Array): string;
    static toBinaryString(buffer: Uint8Array): string;
    static hexStringToBuffer(hexString: string): Uint8Array;
    /**
     * TODO add support for extended ascii
     */
    static toAsciiString(data: Uint8Array | number[]): any;
    static toUnsignedInt(data: Uint8Array, sizeOf?: number, lsb?: boolean): number;
}
