import { AlertProps } from 'antd/lib/alert';
import { Request } from '../interface';
export interface NsNoticeProps extends Partial<AlertProps> {
    /** 通过返回的数据异步渲染，异步数据的返回数据结构为: { type, message, description }，优先级高于外部属性 */
    request?: string | Request;
    hasRefresh?: boolean;
    refreshText?: string;
}
export default function NoticeSection({ alertProps, onRefresh }: {
    alertProps: NsNoticeProps;
    onRefresh?: () => void;
}): JSX.Element;
