import { IInterpreterPluginState as IInterpreterPluginState$1 } from "../plugins.js";
import * as _$_intlayer_core_interpreter0 from "@intlayer/core/interpreter";
import { DeclaredLocales, LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
import { Dictionary } from "@intlayer/types/dictionary";

//#region src/server/useDictionaryAsync.d.ts
/**
 * On the server side, Hook that transform a dictionary and return the content
 *
 * If the locale is not provided, it will use the locale from the server context
 */
declare const useDictionaryAsync: <const T extends Dictionary, const L extends LocalesValues = DeclaredLocales>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, locale?: L, fallbackLocale?: DeclaredLocales) => Promise<_$_intlayer_core_interpreter0.DeepTransformContent<T["content"], IInterpreterPluginState$1, L>>;
//#endregion
export { useDictionaryAsync };
//# sourceMappingURL=useDictionaryAsync.d.ts.map