import { LocalesValues } from "@intlayer/types/module_augmentation";
import * as _$react from "react";
import { FC, PropsWithChildren } from "react";

//#region src/server/IntlayerServerProvider.d.ts
/**
 * Context that store the current locale on the server side
 */
declare const IntlayerServerContext: FC<PropsWithChildren<{
  value?: LocalesValues;
}>> & {
  Provider: FC<PropsWithChildren<{
    value?: LocalesValues;
  }>>;
  Consumer: FC<PropsWithChildren<{
    children: (context: LocalesValues) => _$react.ReactNode;
  }>>;
  _storage: () => {
    value: LocalesValues;
  };
  _defaultValue: LocalesValues;
};
/**
 * Hook that provides the current locale
 */
declare const useIntlayer: () => LocalesValues;
/**
 * Get the current locale
 */
declare const locale: LocalesValues;
type IntlayerServerProviderProps = PropsWithChildren & {
  locale?: LocalesValues;
};
/**
 * Provider that store the current locale on the server side
 */
declare const IntlayerServerProvider: FC<IntlayerServerProviderProps>;
//#endregion
export { IntlayerServerContext, IntlayerServerProvider, IntlayerServerProviderProps, locale, useIntlayer };
//# sourceMappingURL=IntlayerServerProvider.d.ts.map