import { Primitives } from '../common.js'; export declare class Bytes extends Primitives { readonly bytes: Uint8Array; constructor(bytes: Uint8Array); toString(encoding?: 'utf8' | 'hex'): string; toJSON(): string; static fromBytes(buf: Uint8Array): [Bytes, Uint8Array]; toBytes(): Uint8Array; get length(): number; } //# sourceMappingURL=bytes.d.ts.map