UNPKG

@yar.ua/numerals

Version:

Number to text - Inflector for Ukrainian numerals

6 lines (5 loc) 370 B
import { Lexeme } from "./lexeme/lexeme.js"; import { Relation } from "./syntax/relation.js"; export declare function pop_triplet(digits: string[]): [string, string, string]; export declare function triplet_into_lexemes(hundreds: string, tens: string, ones: string): Array<Lexeme>; export declare function get_relation_type(lexeme: Lexeme, is_first: boolean): Relation;