///
import '../../styles/table.scss';
export declare enum TPaginationPosition {
topLeft = "topLeft",
topCenter = "topCenter",
topRight = "topRight",
bottomLeft = "bottomLeft",
bottomCenter = "bottomCenter",
bottomRight = "bottomRight",
none = "none"
}
export interface TPagination {
position: TPaginationPosition;
}
export interface TData {
type: string;
size: "middle" | "small";
title: string;
style: any;
columns: Array;
actions: Array;
api: string | Promise;
initApi: string | Promise;
dataSource: Array;
className: string | Array;
width?: number | string;
debug: boolean;
pagination?: TPagination;
bordered: boolean;
checkbox?: boolean;
actionSpaceLine?: boolean;
}
export interface TProps {
data: TData;
onSelect?: Function;
}
export declare function Table(props: TProps): JSX.Element;
export default Table;