import { NamespaceTransProps, TransForLibs, TranslationResource } from "@trackunit/i18n-library-translation"; 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 = "react.form-wizard"; /** * 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: () => [TransForLibs<"wizard.defaults.back" | "wizard.defaults.cancel" | "wizard.defaults.next">, import("i18next").i18n, boolean] & { t: TransForLibs<"wizard.defaults.back" | "wizard.defaults.cancel" | "wizard.defaults.next">; i18n: import("i18next").i18n; ready: boolean; }; /** * 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) => import("react/jsx-runtime").JSX.Element; /** * Registers the translations for this library */ export declare const setupLibraryTranslations: () => void;