type ICUToken = { type: 'LBRACE'; } | { type: 'RBRACE'; } | { type: 'COMMA'; } | { type: 'HASHTAG'; } | { type: 'ESCAPE'; } | { type: 'WHITESPACE'; value: string; } | { type: 'TEXT'; value: string; }; /** * Takes in a sting and converts it to a list of ICUToken's * ICU uses single quotes to quote literal text. This means: * '' -> ' * '...anything...' -> literal anything (but two single quotes inside become one) * @param input The string to tokenize */ declare function lex(input: string): ICUToken[]; export { type ICUToken, lex };