import { ConfigProviderProps } from '@aplus-frontend/antdv';
import { TransformCellTextProps } from '@aplus-frontend/antdv/lib/table/interface';
import { InputConfig, SelectConfig, FormConfig, TableConfig, TooltipConfig, ThemeConfig, PaginationConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig, PopoverConfig, PopconfirmConfig, ModalConfig, DrawerConfig, ImageConfig } from '@aplus-frontend/antdv/es/config-provider/context';
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
import { Locale } from '@aplus-frontend/antdv/es/locale';
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
/**
 * 弹出框（Select, Tooltip, Menu 等等）渲染父节点，默认渲染到 body 上
 * 解决弹出框滚动问题
 * @param trigger
 * @returns
 */
export declare const getPopupContainer: (trigger: HTMLElement | undefined) => HTMLElement;
/**
 * Table 数据渲染前可以再次改变，一般用户空数据的默认配置
 * 解决表格空状态设置为--
 * @param param0
 * @returns
 */
export declare const transformCellText: ({ text }: TransformCellTextProps) => any;
/**
 * 设置为 false 时，移除按钮中 2 个汉字之间的空格
 */
export declare const autoInsertSpaceInButton = false;
/**
 * antdv的configProvider预设
 */
export declare const antdConfigProviderPresets: Partial<ConfigProviderProps>;
/**
 * 预设和antd provider config合并 合并规则，未自定义时才使用默认预设
 * @param config
 * @returns
 */
export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
    input?: InputConfig | undefined;
    select?: SelectConfig | undefined;
    form?: FormConfig | undefined;
    table?: TableConfig | undefined;
    space?: {
        size?: ButtonSize | number;
    } | undefined;
    tooltip?: TooltipConfig | undefined;
    direction?: "ltr" | "rtl" | undefined;
    csp?: CSPConfig | undefined;
    locale?: Locale | undefined;
    pageHeader?: {
        ghost?: boolean;
    } | undefined;
    dropdownMatchSelectWidth?: number | boolean | undefined;
    theme?: ThemeConfig | undefined;
    wave?: {
        disabled?: boolean;
    } | undefined;
    pagination?: PaginationConfig | undefined;
    cascader?: CascaderConfig | undefined;
    datePicker?: DatePickerConfig | undefined;
    rangePicker?: RangePickerConfig | undefined;
    treeSelect?: TreeSelectConfig | undefined;
    textArea?: TextAreaConfig | undefined;
    inputNumber?: InputNumberConfig | undefined;
    mentions?: MentionsConfig | undefined;
    timePicker?: TimePickerConfig | undefined;
    card?: CardConfig | undefined;
    popover?: PopoverConfig | undefined;
    popconfirm?: PopconfirmConfig | undefined;
    modal?: ModalConfig | undefined;
    drawer?: DrawerConfig | undefined;
    image?: ImageConfig | undefined;
    iconPrefixCls?: string | undefined;
    getTargetContainer?: (() => HTMLElement | Window) | undefined;
    getPopupContainer?: ((triggerNode?: HTMLElement) => HTMLElement) | undefined;
    prefixCls?: string | undefined;
    getPrefixCls?: ((suffixCls?: string, customizePrefixCls?: string) => string) | undefined;
    renderEmpty?: __DTS_DEFAULT_0__ | undefined;
    transformCellText?: ((tableProps: TransformCellTextProps) => any) | undefined;
    autoInsertSpaceInButton?: boolean | undefined;
    componentSize?: ButtonSize;
    componentDisabled?: boolean | undefined;
    virtual?: boolean | undefined;
    variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
};
export declare function mergeAntdProviderConfigWithCache(newConfig: ConfigProviderProps, cachedConfig: ConfigProviderProps): {
    input?: InputConfig | undefined;
    select?: SelectConfig | undefined;
    form?: FormConfig | undefined;
    table?: TableConfig | undefined;
    space?: {
        size?: ButtonSize | number;
    } | undefined;
    tooltip?: TooltipConfig | undefined;
    direction?: "ltr" | "rtl" | undefined;
    csp?: CSPConfig | undefined;
    locale?: Locale | undefined;
    pageHeader?: {
        ghost?: boolean;
    } | undefined;
    dropdownMatchSelectWidth?: number | boolean | undefined;
    theme?: ThemeConfig | undefined;
    wave?: {
        disabled?: boolean;
    } | undefined;
    pagination?: PaginationConfig | undefined;
    cascader?: CascaderConfig | undefined;
    datePicker?: DatePickerConfig | undefined;
    rangePicker?: RangePickerConfig | undefined;
    treeSelect?: TreeSelectConfig | undefined;
    textArea?: TextAreaConfig | undefined;
    inputNumber?: InputNumberConfig | undefined;
    mentions?: MentionsConfig | undefined;
    timePicker?: TimePickerConfig | undefined;
    card?: CardConfig | undefined;
    popover?: PopoverConfig | undefined;
    popconfirm?: PopconfirmConfig | undefined;
    modal?: ModalConfig | undefined;
    drawer?: DrawerConfig | undefined;
    image?: ImageConfig | undefined;
    iconPrefixCls?: string | undefined;
    getTargetContainer?: (() => HTMLElement | Window) | undefined;
    getPopupContainer?: ((triggerNode?: HTMLElement) => HTMLElement) | undefined;
    prefixCls?: string | undefined;
    getPrefixCls?: ((suffixCls?: string, customizePrefixCls?: string) => string) | undefined;
    renderEmpty?: __DTS_DEFAULT_0__ | undefined;
    transformCellText?: ((tableProps: TransformCellTextProps) => any) | undefined;
    autoInsertSpaceInButton?: boolean | undefined;
    componentSize?: ButtonSize;
    componentDisabled?: boolean | undefined;
    virtual?: boolean | undefined;
    variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
};
