import { BindImpl, BindOptions } from '../bind/BindImpl'; import { Table } from './Table'; import { TableColumn } from './TableColumn'; import { TablePagination } from './TablePagination'; import { TableSearch } from './TableSearch'; import { SortColumn, TableSort } from './TableSort'; export interface TableOptions extends BindOptions { columns(bind: TableImpl): TableColumn[]; data(bind: TableImpl): T[]; ready?(bind: TableImpl): boolean; error?(bind: TableImpl): any; readonly pagination?: TablePagination; readonly search?: TableSearch; readonly initialSort?: SortColumn[]; } export declare class TableImpl extends BindImpl> implements Table { readonly sort: TableSort; constructor(impl: TableOptions); get ready(): boolean; protected getReady(): boolean; get columns(): TableColumn[]; protected getColumns(): TableColumn[]; get data(): T[]; protected getData(): T[]; get pagination(): TablePagination | undefined; get search(): TableSearch | undefined; }