import { DeclaredLocales, LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation"; import { useDictionaryDynamic as useDictionaryDynamic$1 } from "react-intlayer/server"; import { Dictionary, DictionarySelector } from "@intlayer/types/dictionary"; import { QualifiedDynamicLoaderMap } from "@intlayer/core/dictionaryManipulator"; //#region src/server/useDictionaryDynamic.d.ts /** * On the server side, hook that lazily loads a dictionary (plain or qualified) * and returns the content for the given locale or selector. * * If the locale is not provided, it will use the locale from the server * context, falling back to the locale carried by the request. */ export declare const useDictionaryDynamic: (dictionaryPromise: StrictModeLocaleMap<() => Promise> | QualifiedDynamicLoaderMap, key: string, localeOrSelector?: A) => ReturnType>; //#endregion //# sourceMappingURL=useDictionaryDynamic.d.ts.map