declare var decodeCodePoint: any;
declare var entityMap: {};
declare var legacyMap: any;
declare var xmlMap: any;
declare var i: number;
declare var TEXT: number;
declare var BEFORE_TAG_NAME: number;
declare var IN_TAG_NAME: number;
declare var IN_SELF_CLOSING_TAG: number;
declare var BEFORE_CLOSING_TAG_NAME: number;
declare var IN_CLOSING_TAG_NAME: number;
declare var AFTER_CLOSING_TAG_NAME: number;
declare var BEFORE_ATTRIBUTE_NAME: number;
declare var IN_ATTRIBUTE_NAME: number;
declare var AFTER_ATTRIBUTE_NAME: number;
declare var BEFORE_ATTRIBUTE_VALUE: number;
declare var IN_ATTRIBUTE_VALUE_DQ: number;
declare var IN_ATTRIBUTE_VALUE_SQ: number;
declare var IN_ATTRIBUTE_VALUE_NQ: number;
declare var BEFORE_DECLARATION: number;
declare var IN_DECLARATION: number;
declare var IN_PROCESSING_INSTRUCTION: number;
declare var BEFORE_COMMENT: number;
declare var IN_COMMENT: number;
declare var AFTER_COMMENT_1: number;
declare var AFTER_COMMENT_2: number;
declare var BEFORE_CDATA_1: number;
declare var BEFORE_CDATA_2: number;
declare var BEFORE_CDATA_3: number;
declare var BEFORE_CDATA_4: number;
declare var BEFORE_CDATA_5: number;
declare var BEFORE_CDATA_6: number;
declare var IN_CDATA: number;
declare var AFTER_CDATA_1: number;
declare var AFTER_CDATA_2: number;
declare var BEFORE_SPECIAL: number;
declare var BEFORE_SPECIAL_END: number;
declare var BEFORE_SCRIPT_1: number;
declare var BEFORE_SCRIPT_2: number;
declare var BEFORE_SCRIPT_3: number;
declare var BEFORE_SCRIPT_4: number;
declare var BEFORE_SCRIPT_5: number;
declare var AFTER_SCRIPT_1: number;
declare var AFTER_SCRIPT_2: number;
declare var AFTER_SCRIPT_3: number;
declare var AFTER_SCRIPT_4: number;
declare var AFTER_SCRIPT_5: number;
declare var BEFORE_STYLE_1: number;
declare var BEFORE_STYLE_2: number;
declare var BEFORE_STYLE_3: number;
declare var BEFORE_STYLE_4: number;
declare var AFTER_STYLE_1: number;
declare var AFTER_STYLE_2: number;
declare var AFTER_STYLE_3: number;
declare var AFTER_STYLE_4: number;
declare var BEFORE_ENTITY: number;
declare var BEFORE_NUMERIC_ENTITY: number;
declare var IN_NAMED_ENTITY: number;
declare var IN_NUMERIC_ENTITY: number;
declare var IN_HEX_ENTITY: number;
declare var j: number;
declare var SPECIAL_NONE: number;
declare var SPECIAL_SCRIPT: number;
declare var SPECIAL_STYLE: number;
declare function whitespace(c: any): boolean;
declare function ifElseState(upper: any, SUCCESS: any, FAILURE: any): (c: any) => void;
declare function consumeSpecialNameChar(upper: any, NEXT_STATE: any): (c: any) => void;
declare function Tokenizer(options: any, cbs: any): void;
