import type { CatalogInput, Locales, NamespaceBodyInput, Translations } from '../types'; /** * Reduce a catalog tree to the internal `Locales` lookup shape. A nested * namespace node extends the dotted **namespace**; a nested object inside a * translations node extends the dotted **key**. Translations placed directly under a * locale (no namespace) land in the default namespace. * * Accepts a `CatalogNode`, a bare `LocaleNode[]`, or a single `LocaleNode`. */ export declare function normalizeCatalog(input: CatalogInput): Locales; /** * Reduce a single namespace body (from a `LoaderStore` loader or an * `@ilingo/fs` file, where `(locale, namespace)` is already known) to the * internal `Translations` shape. Returns an empty record for a non-translations body. */ export declare function normalizeNamespaceBody(body: NamespaceBodyInput): Translations;