import type { ScSchemaLocales, ScTranslations } from "@paroicms/public-anywhere-lib"; import type { AppLogger } from "../types/backend-plugin-types.d.ts"; export interface SimpleTranslator { translate: (options: SimpleTranslateOptions) => string; } export interface SimpleTranslateOptions { language: string; key: string; args?: (string | number)[]; defaultValue?: string; } export interface SimpleTranslatorConfig { siteLanguages?: string[]; } export declare function loadSimpleTranslatorFromDirectory(options: { logger: Pick; l10nDir: string; languages?: string[]; config?: SimpleTranslatorConfig; }): Promise; export declare function createSimpleTranslator(options: { labels: { [language: string]: ScTranslations; } | ScSchemaLocales; logger: Pick; config?: SimpleTranslatorConfig; }): SimpleTranslator; export declare function ensureLanguagesFormat(languages: string[]): string[]; //# sourceMappingURL=simple-i18n.d.ts.map