import { NamespaceTransProps, TransForLibs, TranslationResource, useNamespaceTranslation } from "@trackunit/i18n-library-translation"; import { ReactElement } from "react"; import defaultTranslations from "./locales/en/translation.json"; /** A type for all available translation keys in this library */ export type TranslationKeys = keyof typeof defaultTranslations; /** The translation namespace for this library */ export declare const namespace = "criticality.indicator"; /** * The TranslationResource for this Library. * Holds lazy loaded imports for all languages supported by the library. * * This is used to register the translations for this library before initializing i18next. */ export declare const translations: TranslationResource; /** * Local useTranslation for this specific library */ export declare const useTranslation: () => ReturnType>; /** * Type of the t function for the local useTranslation for this specific library */ export type TranslationFunction = TransForLibs; /** * Trans for this specific library. */ export declare const Trans: (props: NamespaceTransProps) => ReactElement; /** * Registers the translations for this library */ export declare const setupLibraryTranslations: () => void;