import { type ReactNode } from 'react';
interface LocaleContextValue {
    activeLocale: string;
    setLocale: (locale: string) => void;
    locales: Array<{
        code: string;
        label: string;
        dir?: 'ltr' | 'rtl';
    }>;
}
export declare function useLocale(): LocaleContextValue;
export interface LocaleProviderProps {
    config: {
        i18n?: {
            defaultLocale: string;
            locales: Array<{
                code: string;
                label: string;
                dir?: 'ltr' | 'rtl';
            }>;
            fallbackLocale?: string;
        };
    };
    children: ReactNode;
}
export declare function LocaleProvider({ config, children }: LocaleProviderProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=LocaleProvider.d.ts.map