import { LedgerJWTHeader, LedgerJWTPayload } from "../../../types/src"; /** * Decodes the provided JWT and returns its payload. * * @param jwt - The signed JWT * @returns {LedgerJWTPayload} Ledger JWT Payload */ export declare function decodeJWT(jwt: string): LedgerJWTPayload; export declare function signJWT(payload: LedgerJWTPayload, secret: string, kid?: string): Promise; export declare function getJWTProtectedHeader(jwt: string): LedgerJWTHeader; export declare function verifyJWT(jwt: string, publicKey: string, format?: string): Promise;