/**
 * Return the given buffer as a Uint8Array.
 *
 * Strings are encoded as UTF8.
 */
export declare function bytesOf(buffer: ArrayBuffer | Uint8Array | string | number[]): Uint8Array;
