export declare enum TokenType { ILLEGAL = "ILLEGAL", EOF = "EOF", IDENT = "IDENT", NUMBER = "NUMBER", STRING = "STRING", ASSIGN = "ASSIGN", ASSIGN_REF = "ASSIGN_REF", ASSIGN_ANCHOR = "ASSIGN_ANCHOR", PLUS = "+", MINUS = "-", SLASH = "/", BANG = "!", HASH = "#", GT = ">", LT = "<", ASTERISK = "*", EQ = "==", NOT_EQ = "!=", CARET = "^", COMMA = ",", DOT = ".", SEMICOLON = ";", LPAREN = "(", RPAREN = ")", LBRACE = "{", RBRACE = "}", LBRACKET = "[", RBRACKET = "]", COLON = ":", OPEN_BLOCK = "<<", CLOSE_BLOCK = ">>", FUNCTION = "FUNCTION", LET = "LET", IF = "IF", ELSE = "ELSE", RETURN = "RETURN", TRUE = "TRUE", FALSE = "FALSE", DELETE = "DELETE" } export declare type Token = { readonly type: TokenType; readonly literal: string; }; export declare const keywords: Map; export declare const lookupIdentifier: (ident: string) => TokenType; export declare const isLetter: (ch: any) => boolean; export declare const isDigit: (ch: any) => boolean; export declare const isWhitespace: (ch: any) => boolean; export declare const newToken: (type: TokenType, literal: any) => { type: TokenType; literal: any; };