export type CborValue = number | bigint | string | Uint8Array | boolean | null | undefined | CborValue[] | Map; export declare function decodeCbor(data: Uint8Array): CborValue; /** * Decode the FIRST CBOR item and report how many bytes it consumed, * tolerating trailing data. For values embedded in a larger binary structure * — the COSE key inside authenticator data is followed by extension data when * the ED flag is set — and for re-reading stored keys that may carry such an * appendix from before the exact-slicing fix (read tolerant, write strict). */ export declare function decodeCborFirst(data: Uint8Array): { value: CborValue; bytesConsumed: number; }; export declare function decodeCborMultiple(data: Uint8Array): CborValue[];