import React from 'react'; import './index.less'; export declare type AlertRenderType = ((props: { selectedRowKeys: (number | string)[]; selectedRows: T[]; onCleanSelected: () => void; onSelectAll: () => void; onSelectedRows: (rows: any[]) => void; showClear?: boolean; tagField?: string; }) => React.ReactNode) | false; export declare type TableAlertProps = { selectedRowKeys: (number | string)[]; selectedRows: T[]; alwaysShowAlert?: boolean; alertInfoRender?: AlertRenderType; onCleanSelected: () => void; onSelectAll: () => void; onSelectedRows: (rows: any[]) => void; dataSource: any[]; getCheckboxProps?: (row: T) => any; alertOptionRender?: AlertRenderType; pagination: any; showClear?: boolean; tagField?: string; }; declare function TableAlert({ selectedRowKeys, onCleanSelected, onSelectAll, alwaysShowAlert, pagination, selectedRows, onSelectedRows, getCheckboxProps, dataSource, showClear, tagField, alertInfoRender, alertOptionRender, }: TableAlertProps): JSX.Element | null; export default TableAlert;