/*!
 * Propylons
 * Copyright(c) 2022 Xavier Raffin
 * MIT Licensed
 */
export declare enum InvalidityReason {
    tokenExpired = "tokenExpired",
    tokenDateInFuture = "tokenDateInFuture",
    tokenWrongFormat = "tokenWrongFormat",
    tokenInvalidRole = "tokenInvalidRole",
    tokenProvidedIsNotTokenId = "tokenProvidedIsNotTokenId",
    tokenSignatureInvalid = "tokenSignatureInvalid",
    tokenSignedByUnkownKeyID = "tokenSignedByUnkownKeyID",
    tokenSignedByWrongAuthority = "tokenSignedByWrongAuthority",
    tokenMissingFields = "tokenMissingFields"
}
export declare class InvalidTokenError extends Error {
    constructor(message: string, reason?: InvalidityReason);
}
