import { Hex } from '@cfxdevkit/cdk'; /** Bytes -> 0x-prefixed hex. */ export declare function toHex(bytes: Uint8Array): Hex; /** 0x-prefixed hex -> bytes. Throws on malformed input. */ export declare function fromHex(hex: Hex): Uint8Array; /** Bytes -> URL-safe base64 (RFC 4648 section 5, no padding). */ export declare function toBase64Url(bytes: Uint8Array): string; /** URL-safe base64 -> bytes. */ export declare function fromBase64Url(text: string): Uint8Array; //# sourceMappingURL=encoding.d.ts.map