import React from 'react';
type DataTableProps = {
    cols: any[];
    rows: any[];
    readOnly?: boolean;
    loading?: boolean;
    heading?: never[];
    filter?: boolean;
    menu?: never;
    sideMenu?: boolean;
    style?: object;
    children?: React.ReactNode;
    stickyHeader?: boolean;
    hasMore?: boolean;
    nextFn?: () => void;
    onBack?: () => void;
    infiniteLoader?: React.ReactNode;
    endMessage?: React.ReactNode;
    onRefresh?: () => void;
    onFilters?: (filters: object) => void;
    onSelectedDelete?: (selected: never[]) => void;
    onSelectedEdit?: (selected: never) => void;
    onSelected?: (selected: any) => void;
    disableViewColumn?: boolean;
    rowDraggable?: boolean;
    onDragOver?: () => void;
    onDragEnter?: () => void;
    onDragLeave?: () => void;
    onDrop?: () => void;
    onRowClick?: (row: any) => void;
    disableMenu?: boolean;
    dataLength?: number;
    viewLength?: number;
    onPageChange?: (page: number, start: number, end: number) => void;
};
declare function DataTable({ cols, rows, readOnly, heading, filter, menu, sideMenu, style, children, onBack, onRefresh, // Function
onFilters, onSelectedDelete, onSelectedEdit, onSelected, disableViewColumn, rowDraggable, onDragOver, onDragEnter, onDragLeave, onDrop, onRowClick, dataLength, viewLength, onPageChange, disableMenu }: DataTableProps): React.JSX.Element;
declare const _default: React.MemoExoticComponent<typeof DataTable>;
export default _default;
