//#region src/internal/asn1/asn1.d.ts /** Converts raw bytes to a lowercase hex string with no separator. */ declare function toHex(bytes: Uint8Array): string; /** A BIT STRING payload and the number of unused trailing bits in its final byte. */ interface DerBitString { /** Payload bytes, excluding the leading unused-bit count octet. */ readonly bytes: Uint8Array; /** Unused trailing bits in the final byte, 0 through 7. */ readonly unusedBits: number; /** `true` when the original encoding had non-zero padding bits (DER violation). */ readonly nonZeroPadding: boolean; } /** * Converts a hex string (even or odd length) to a {@linkcode Uint8Array}. * Odd-length strings are left-padded with a zero nibble. */ declare function hexToBytes(value: string): Uint8Array; //#endregion export { DerBitString, hexToBytes, toHex }; //# sourceMappingURL=asn1.d.ts.map