import React from 'react'; import { TColumn } from '../../type'; declare type Props = { 'data-qa'?: string; animation?: boolean; background?: 'default' | 'light'; columns: Column[]; details?: JSX.Element; rows: Row[]; style?: object; largest?: boolean; }; interface Row extends Object { isDetaisOpen?: boolean; } declare const Table: React.FC; export interface Column { align?: 'center' | 'end' | 'justify' | 'left' | 'match-parent' | 'right' | 'start'; id: string; isOrderByColumn?: boolean; handleOrderColumn?: Function; label: string | JSX.Element; type?: TColumn; width?: string | number; } interface IRowProps { columns: Column[]; row: any; disabled?: boolean; background?: 'default' | 'light'; onSelected?: () => void; id?: number; rowSelected?: number; } declare const Row: (rowProps: IRowProps) => JSX.Element; export default Table;