UNPKG

@yar.ua/numerals

Version:

Number to text - Inflector for Ukrainian numerals

5 lines (4 loc) 447 B
import { SyntaxNode } from "./syntax/node.js"; import { InflectionForm } from "./grammar.js"; export declare function inflect(whole: string, numerator: string, denominator: string, form: Partial<InflectionForm>, insert_ones?: boolean, strict_range?: boolean): string; export declare function build_tree(root: SyntaxNode, obj: SyntaxNode, whole: string, numerator: string, denominator: string, insert_ones?: boolean, strict_range?: boolean): void;