import type { GetContextReactive } from '@ilingo/vue'; /** * One entry of a {@see useTranslations} batch. Carries a full ilingo * lookup context: `namespace` + `key`, plus optional `count` for plural * selection (`count: 1` → singular, any other → plural) and `data` for * interpolation. The output map is keyed by `key`, so a single batch must * not list the same `key` twice. */ export type TranslationsInput = GetContextReactive; type TranslationsInputNamespaced = Omit; type OutputKey = T['key'] extends string ? T['key'] : string; /** * Resolve a batch of translations spanning any number of namespaces. * Each element supplies its own `namespace`; the result is a reactive * keyed map of unwrapped strings — access as `map.key` (no `.value`) in * script, interpolation, and attribute bindings alike. The output key is * the element's `key`. */ export declare function useTranslations(elements: T): Record, string>; /** * Single-namespace sugar over {@see useTranslations}: applies one shared * `namespace` to every element. Retained for batches that live entirely * in one namespace (e.g. the `authupApp` chrome labels). */ export declare function useTranslationsForNamespace(namespace: string, elements: T): Record, string>; export {}; //# sourceMappingURL=helpers.d.ts.map