export { decodeHex, encodeHex, } from "./deps/deno.land/std@0.208.0/encoding/hex.js";
export declare function checkEnd(bytes: Uint8Array, pos: number): void;
export declare function equalBytes(lhs: Uint8Array, rhs: Uint8Array): boolean;
export declare function flipBytes(arr: Uint8Array | number[], start?: number): void;
export declare function computeBigintMinimumNumberOfBytes(val: bigint): number;
export declare function compareBytes(lhs: Uint8Array, rhs: Uint8Array): number;
export declare class ByteReader {
    private readonly reader;
    private remaining;
    private done;
    constructor(reader: ReadableStreamDefaultReader<Uint8Array>);
    read(bytes: number): Promise<{
        done: true;
        value: undefined;
    } | {
        done: false;
        value: Uint8Array;
    }>;
}
