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