import { TokenType } from '../index' ; import { IValidationResponse } from '../input_validation/IValidationResponse' ; import ValidationQueue from '../input_validation/ValidationQueue' ; import ValidationQueueItem from '../input_validation/ValidationQueueItem' ; /**
 * Interface to validate a token
 */ export default interface ITokenValidator { /**
     * Gets the type of token to validate
     */ isType : TokenType ; param queue param queueItem validate ( queue , queueItem , siopDid ? , siopContract ? ) : Promise < IValidationResponse > ; param validationResponse param queue getTokens ( validationResponse , queue ) : IValidationResponse ; }