@yar.ua/numerals
Version:
Number to text - Inflector for Ukrainian numerals
5 lines (4 loc) • 401 B
TypeScript
import { SyntaxNode } from "./syntax/node.js";
import { InflectionForm } from "./grammar.js";
export declare function inflect(whole: string, decimal: string, form: Partial<InflectionForm>, insert_ones?: boolean, strict_range?: boolean): string;
export declare function build_tree(root: SyntaxNode, obj: SyntaxNode, whole: string, decimal: string, insert_ones?: boolean, strict_range?: boolean): void;