///
import { IProps } from './interface';
import { TableRowSelection } from '../../components/Table/index';
export declare function useDataSourceRef(dataSource: D[]): import("react").MutableRefObject;
export declare function useAddAndDelRow(showAddIcon: any, showDelIcon: any, dataSourceRef: any, addDataMode: any, addDataReturnRecord: any, onChange: any, rowKey: any, refreshScuCell: any): {
needAddAndDel: any;
onAddAndDelHandle: (type: 'add' | 'del', index: number) => void;
};
export declare function useMoveRow(onChange: any, dataSourceRef: any, refreshScuCell: any): (dragIndex: number, hoverIndex: number) => void;
export declare function useEditRow(onChange: any, dataSourceRef: any, innerTableHandleRef: any, { onBatchPastePre, onBatchPastePost }: {
onBatchPastePre: any;
onBatchPastePost: any;
}): {
onEditableSaveHandle: (record: any, index: number | undefined, _dataIndex?: string, otherConfig?: any) => void;
onBatchPasteHandle: (records: any, startIndex: any) => void;
};
export declare function useScuRfresh(): {
refreshScuCell: () => void;
getRefreshScuCell: () => boolean;
};
export declare function useChoice(choiceMode: IProps['choiceMode'], filterOptions: any, selectedRowOptions: {
selectedRowKeys: IProps['selectedRowKeys'];
selectedRows: IProps['selectedRows'];
onSelectedRowChange: IProps['onSelectedRowChange'];
onSelect: IProps['onSelect'];
}): {
rowSelection: TableRowSelection;
};