import { ICUToken } from './lex.cjs'; declare const replaceOperations: readonly ["plural", "select"]; type ReplaceOperation = typeof replaceOperations[number]; type ICUASTNode = { type: 'Node'; parts: ICUASTNode[]; } | { type: 'Text'; value: string; } | { type: 'NumberField'; } | { type: 'SimpleReplace'; variableName: string; } | { type: 'OptionReplace'; variableName: string; operatorName: ReplaceOperation; options: Record; }; /** * Converts a list of ICUToken's to a tree of ICUSAstNode's * @param tokens */ declare function parse(tokens: ICUToken[]): ICUASTNode; export { type ICUASTNode, parse };