import { FunctionComponent } from 'react';
import { BasicComponent } from "../../../../src/utils/typings";
import { BaseLang } from "../../../../src/locales/base";
import type { NutCSSVariables } from './types';
export interface ConfigProviderProps extends BasicComponent {
    locale: BaseLang;
    direction?: ConfigProviderDirection;
    theme?: Record<string | NutCSSVariables, string>;
}
export type ConfigProviderDirection = 'ltr' | 'rtl' | undefined;
export declare const defaultConfigRef: {
    current: ConfigProviderProps;
};
export declare const setDefaultConfig: (config: ConfigProviderProps) => void;
export declare const getDefaultConfig: () => ConfigProviderProps;
export declare const useConfig: () => ConfigProviderProps;
export declare const useRtl: () => boolean;
export declare const ConfigProvider: FunctionComponent<Partial<ConfigProviderProps & BasicComponent>>;
