import * as React from 'react'; import type { ITableCellLayoutProps } from './TableCell'; import type { ITableRowLayoutProps } from './TableRow'; export interface ITableColumn { name: string; sortDirection?: 'ascending' | 'descending'; onSort?: () => any; } export type ITableColumns = Readonly>; export interface ITableLayoutProps { columns: ITableColumn[]; isMobile: boolean; expandable?: boolean; expandAll: () => any; children?: React.ReactNode; } export interface ITableLayout { TableLayout: React.ComponentType; TableRowLayout: React.ComponentType; TableCellLayout: React.ComponentType; } export interface ITableProps { layout: ITableLayout; columns: ITableColumns; expandable?: boolean; children?: React.ReactNode; } export declare const Table: (props: ITableProps) => JSX.Element;