UNPKG

wuchale

Version:

Protobuf-like i18n from normal code

6 lines 425 B
import type { LoaderFunc } from './index.js'; import { Runtime } from '../runtime.js'; export declare function currentRT(key: string, loadID: string): Runtime; export declare function loadLocales(key: string, loadIDs: string[], load: LoaderFunc, locales: string[]): Promise<(loadID: string) => Runtime>; export declare function runWithLocale<T>(locale: string, func: () => T): Promise<T>; //# sourceMappingURL=server.d.ts.map