export declare const UNCHECKED_AND_UNCLONED: unique symbol; export default class ByteArray { contents: Uint8Array; protected constructor(contents: Uint8Array, checkValid: ((contents: Uint8Array) => void) | typeof UNCHECKED_AND_UNCLONED); protected static checkLength(expectedLength: number): (contents: Uint8Array) => void; getContents(): Uint8Array; serialize(): Uint8Array; }