import { DeclaredLocales, DictionaryKeys } from "@intlayer/types/module_augmentation"; import { Locale } from "@intlayer/types/allLocales"; import { useIntlayer as useIntlayer$1 } from "react-intlayer/server"; //#region src/server/useIntlayer.d.ts declare const safeUseLocale: () => Locale | undefined; /** * On the server side, Hook that picking one dictionary by its key and return the content * * If the locale is not provided, it will use the locale from the server context */ declare const useIntlayer: (key: T, locale?: L) => ReturnType>; //#endregion export { safeUseLocale, useIntlayer }; //# sourceMappingURL=useIntlayer.d.ts.map