import React, { CSSProperties } from 'react';
import { RowErrorMap, TableDataItemBase, TableOnCellClick, TableOnChange, TableOnRowClick, TableRowClassNameHandler } from './table-types';
import { ScaleProps } from '../use-scale';
interface Props<TableDataItem extends TableDataItemBase> {
    data?: Array<TableDataItem>;
    initialData?: Array<TableDataItem>;
    emptyText?: string;
    hover?: boolean;
    onRow?: TableOnRowClick<TableDataItem>;
    onCell?: TableOnCellClick<TableDataItem>;
    onChange?: TableOnChange<TableDataItem>;
    onFilters?: (filters: any) => void;
    onSelected?: (selected: any[]) => void;
    onPageChange?: (page: number, start: number, end: number) => void;
    className?: string;
    rowDraggable?: boolean;
    readOnly?: boolean;
    showFilters?: boolean;
    stickyHeader?: boolean;
    textPlaceholder?: boolean;
    dataLength?: number;
    viewLength?: number;
    rowClassName?: TableRowClassNameHandler<TableDataItem>;
    cursorPagination?: boolean;
    previousCursor?: string;
    nextCursor?: string;
    hasMore?: boolean;
    rowErrors?: RowErrorMap;
    containerStyle?: CSSProperties;
    loading?: string;
    isLoading?: boolean;
    onNextPage?: (next?: string) => void;
    onPreviousPage?: (prev?: string) => void;
}
type NativeAttrs = Omit<React.TableHTMLAttributes<any>, keyof Props<any>>;
export type TableProps<TableDataItem extends TableDataItemBase> = Props<TableDataItem> & NativeAttrs;
declare function TableComponent<TableDataItem extends TableDataItemBase>(tableProps: React.PropsWithChildren<TableProps<TableDataItem>>): React.JSX.Element;
declare namespace TableComponent {
    var displayName: string;
    var Column: {
        <TableDataItem extends TableDataItemBase>(columnProps: React.PropsWithChildren<import("./table-column").TableColumnProps<TableDataItem>>): null;
        displayName: string;
    };
}
declare const _default: typeof TableComponent & ScaleProps;
export default _default;
