import React, { PropsWithChildren } from 'react';
declare type Ref = HTMLDivElement | null;
export declare type MessageHolderProps = PropsWithChildren<{
    /**
     * 设置类名
     */
    className?: string;
    /**
     * 设置行内样式
     */
    style?: React.CSSProperties;
    /**
     * 类名前缀
     */
    prefixCls?: string;
    /**
     * 关闭时触发的回调函数
     */
    onClose?: () => void;
}>;
declare const MessageHolder: React.ForwardRefExoticComponent<{
    /**
     * 设置类名
     */
    className?: string | undefined;
    /**
     * 设置行内样式
     */
    style?: React.CSSProperties | undefined;
    /**
     * 类名前缀
     */
    prefixCls?: string | undefined;
    /**
     * 关闭时触发的回调函数
     */
    onClose?: (() => void) | undefined;
} & {
    children?: React.ReactNode;
} & React.RefAttributes<Ref>>;
export default MessageHolder;
