import { Hasher, HasherSync, HasherAndAlg, HasherAndAlgSync } from '@sd-jwt/types'; import { Disclosure } from '@sd-jwt/utils'; declare const decodeJwt: , T extends Record>(jwt: string) => { header: H; payload: T; signature: string; }; declare const splitSdJwt: (sdjwt: string) => { jwt: string; disclosures: string[]; kbJwt?: string; }; declare const decodeSdJwt: (sdjwt: string, hasher: Hasher) => Promise; declare const decodeSdJwtSync: (sdjwt: string, hasher: HasherSync) => DecodedSDJwt; declare const getClaims: (rawPayload: Record, disclosures: Array, hasher: Hasher) => Promise; declare const getClaimsSync: (rawPayload: Record, disclosures: Array, hasher: HasherSync) => T; declare const unpackObj: (obj: unknown, map: Record) => { unpackedObj: unknown; disclosureKeymap: Record; }; declare const createHashMapping: (disclosures: Array, hash: HasherAndAlg) => Promise>>; declare const createHashMappingSync: (disclosures: Array, hash: HasherAndAlgSync) => Record>; declare const getSDAlgAndPayload: (SdJwtPayload: Record) => { _sd_alg: string; payload: { [x: string]: unknown; }; }; declare const unpack: (SdJwtPayload: Record, disclosures: Array, hasher: Hasher) => Promise<{ unpackedObj: unknown; disclosureKeymap: Record; }>; declare const unpackSync: (SdJwtPayload: Record, disclosures: Array, hasher: HasherSync) => { unpackedObj: unknown; disclosureKeymap: Record; }; type DecodedSDJwt = { jwt: { header: Record; payload: Record; signature: string; }; disclosures: Array; kbJwt?: { header: Record; payload: Record; signature: string; }; }; export { type DecodedSDJwt, createHashMapping, createHashMappingSync, decodeJwt, decodeSdJwt, decodeSdJwtSync, getClaims, getClaimsSync, getSDAlgAndPayload, splitSdJwt, unpack, unpackObj, unpackSync };