UNPKG

locale-wizard

Version:
8 lines (7 loc) 461 B
import { LocaleWizard } from "../index"; import { Locales } from "../types/public"; export declare function translateLocaleKeys(this: LocaleWizard, keyValuePairs: Record<string, string>, targetLocale: Locales): Promise<Record<string, string>>; export declare function translateChunk(this: LocaleWizard, chunk: Record<string, string>, targetLocale: Locales, isRetry?: boolean): Promise<{ translated: Record<string, string>; cost: number | undefined; }>;