import * as React from 'react';
import { ColumnsType, ColumnType, ExpandableConfig, GetComponentProps, GetRowKey, PanelRender, RowClassName, TableComponents, TableLayout, FixedType } from 'rc-table/lib/interface';
import { ScrollbarType } from '../scrollbar';
import './style/table.css';
export type { FixedType };
export interface TableProps<RecordType = any> {
    className?: string;
    style?: React.CSSProperties;
    children?: React.ReactNode;
    data?: RecordType[];
    columns?: ColumnsType<RecordType>;
    rowKey?: string | GetRowKey<RecordType>;
    tableLayout?: TableLayout;
    scroll?: {
        x?: number | true | string;
        y?: number | string;
    };
    /** Config expand rows */
    expandable?: ExpandableConfig<RecordType>;
    indentSize?: number;
    rowClassName?: string | RowClassName<RecordType>;
    title?: PanelRender<RecordType>;
    footer?: PanelRender<RecordType>;
    summary?: (data: RecordType[]) => React.ReactNode;
    id?: string;
    showHeader?: boolean;
    components?: TableComponents<RecordType>;
    onRow?: GetComponentProps<RecordType>;
    onHeaderRow?: GetComponentProps<ColumnType<RecordType>[]>;
    emptyText?: React.ReactNode | (() => React.ReactNode);
    direction?: 'ltr' | 'rtl';
    type?: ScrollbarType;
    withVerticalBorder?: boolean;
}
export declare const prefixCls = "dmc-table";
declare const Table: React.FC<TableProps>;
export default Table;
declare const TableMemo: React.NamedExoticComponent<TableProps<any>>;
export { TableMemo };
