import { LocaleCatalog } from './collect-translations.js'; import { IntlConfig } from './intl-config.js'; import './placeholder-type.js'; interface CompileResult { source: string; errors: string[]; } declare function compileToTypescript(catalog: LocaleCatalog, supportedLocales: readonly string[], exportName: string): CompileResult; declare function compileTranslations(catalog: LocaleCatalog, config: IntlConfig, exportName: string): CompileResult; export { type CompileResult, compileToTypescript, compileTranslations };