import React from "react";
import { ConfigContext, ConfigConsumer, ConfigConsumerProps } from "./context";
export { ConfigContext, ConfigConsumer };
export type { ConfigConsumerProps };
export declare const configConsumerProps: string[];
export declare const defaultPrefixCls = "yant";
export interface ConfigProviderProps {
    getTargetContainer?: () => HTMLElement;
    getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
    prefixCls?: string;
    iconPrefixCls?: string;
    children?: React.ReactNode;
}
declare const ConfigProvider: React.FC<ConfigProviderProps> & {
    ConfigContext: typeof ConfigContext;
    config: typeof setGlobalConfig;
};
declare const setGlobalConfig: (params: Pick<ConfigProviderProps, 'prefixCls'>) => void;
export declare const globalConfig: () => {
    getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string;
    getRootPrefixCls: (rootPrefixCls?: string, customizePrefixCls?: string) => string;
};
export default ConfigProvider;
