import Token from './Token' ; import SimpleToken from './SimpleToken' ; import { int } from '../../../customTypings' ; export const MODE_NAMES = [ 'UPPER' , 'LOWER' , 'DIGIT' , 'MIXED' , 'PUNCT' ] ; export const MODE_UPPER = 0 ; export const MODE_LOWER = 1 ; export const MODE_DIGIT = 2 ; export const MODE_MIXED = 3 ; export const MODE_PUNCT = 4 ; export const EMPTY_TOKEN = new SimpleToken ( null , 0 , 0 ) ;