/** UTF-8 string → Uint8Array (replaces Buffer.from('string')) */
export declare function encodeUtf8(s: string): Uint8Array;
/** Base64 string → Uint8Array (replaces Buffer.from(s, 'base64')) */
export declare function base64ToBytes(s: string): Uint8Array;
/** Read a little-endian 128-bit unsigned integer as bigint. Pass an existing DataView to avoid allocation. */
export declare function readU128LE(dv: DataView, off: number): bigint;
/** Write a little-endian 128-bit integer. Pass an existing DataView to avoid allocation. */
export declare function writeU128LE(dv: DataView, off: number, v: bigint): void;
//# sourceMappingURL=bytes.d.ts.map