UNPKG

wuchale

Version:

Protobuf-like i18n from plain code

6 lines (5 loc) 356 B
import type { CatalogModule } from "../runtime.js"; import type { LoaderFunc } from "./index.js"; export type CatalogsByID = Record<string, CatalogModule>; /** No-side effect way to load catalogs. Can be used for multiple file IDs. */ export declare function loadCatalogs(locale: string, loadIDs: string[], loadCatalog: LoaderFunc): Promise<CatalogsByID>;