import { IntlConfig } from './intl-config.cjs'; import { DiagnosticLevel, NumericKind } from './placeholder-type.cjs'; interface IntlDiagnostic { level: DiagnosticLevel; message: string; } interface FuncParam { name: string; typing: string; numeric?: NumericKind; } type TranslationEntry = { type: 'text'; value: string; } | { type: 'func'; params: FuncParam[]; value: string; }; type LocaleCatalog = Record>; interface CollectedTranslations { catalog: LocaleCatalog; diagnostics: IntlDiagnostic[]; } declare function describeTranslationEntry(entry: TranslationEntry): string; declare function collectTranslations(locations: readonly string[], config: Pick): CollectedTranslations; export { type CollectedTranslations, type FuncParam, type IntlDiagnostic, type LocaleCatalog, type TranslationEntry, collectTranslations, describeTranslationEntry };