import { utils } from '../src' ; const { hexToBytes } = utils ; declare const TextEncoder ; declare const TextDecoder ; export function bytesToUtf8 ( bytes ) { return new TextDecoder ( ) . decode ( bytes ) ; } export function numberToBytes ( a ) { const hex = a . toString ( 16 ) ; const pad = hex . length % 2 ? `0${ hex }` : hex ; return hexToBytes ( pad ) ; }