import { Dispatch, SetStateAction } from 'react'; export declare enum ETableType { LINE = "line", BORDER = "border" } declare type TColumnType = { name: any; key: string; defaultValue?: JSX.Element; }; export declare type TPageChange = (params: { row: number; page: number; }) => void; interface Props { data: T[]; hasNext?: boolean; hasPrevious?: boolean; cursorPrevious?: string; cursorNext?: string; rowSize?: number; cursorSizeChange?: Dispatch>; setCursor?: Dispatch>; type?: ETableType; loading?: boolean; totalCount?: number; pagination?: boolean; currentPage?: number; column: TColumnType[]; onPage?: TPageChange; variant?: 'offset' | 'cursor'; } declare const Table: ({ type, column, onPage, rowSize, totalCount, loading, hasNext, hasPrevious, cursorSizeChange, cursorNext, cursorPrevious, setCursor, pagination, currentPage, variant, data }: Props) => JSX.Element; export default Table; //# sourceMappingURL=Table.d.ts.map