import type { Locale } from 'payload/config';
import React from 'react';
declare const LocaleContext: React.Context<Locale>;
export declare const LocaleProvider: React.FC<{
    children?: React.ReactNode;
}>;
/**
 * A hook that returns the current locale object.
 */
export declare const useLocale: () => Locale;
export default LocaleContext;
//# sourceMappingURL=index.d.ts.map