UNPKG

@sentzunhat/zacatl

Version:

A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.

25 lines 900 B
import i18n from '../third-party/i18n.js'; export type I18nCatalogType = Record<string, Record<string, unknown>>; export interface ConfigureI18nInput { locales?: { default?: string; supported?: string[]; directories?: string[]; }; objectNotation?: boolean; overrideBuiltIn?: boolean; } export interface LoadCatalogInput { localesDir: string; supportedLocales: string[]; } export interface MergeCatalogsInput { base: I18nCatalogType; additions: I18nCatalogType[]; overrideBuiltIn: boolean; } export declare const loadCatalog: (input: LoadCatalogInput) => I18nCatalogType; export declare const resolveBuiltInLocalesDir: () => string; export declare const mergeCatalogs: (input: MergeCatalogsInput) => I18nCatalogType; export declare const configureI18nNode: (input?: ConfigureI18nInput) => typeof i18n; //# sourceMappingURL=i18n-node.d.ts.map