UNPKG

poe-i18n

Version:

i18n utility for Path of Exile

14 lines (13 loc) 582 B
import { ICUMessageSyntax } from '../types/intl'; import { Formatter, UnaryFormatter } from '../types/StatDescription'; import { StatValue } from '../types/StatValue'; export interface FormatValuesOptions { formatters: Formatter[]; message: ICUMessageSyntax; } export declare function formatValues(values: StatValue[], options?: Partial<FormatValuesOptions>): string[]; export interface FormatValueOptions { formatter: UnaryFormatter; message: ICUMessageSyntax; } export declare function formatValue(value: StatValue, options?: Partial<FormatValueOptions>): string;