import { Components, Controller } from "thoriumjs"; export type DataLineOptionsInit = any[]; export interface TableOptionsInit { sortable?: boolean; headers: string[]; data?: DataLineOptionsInit[]; } export interface TableController extends Controller { addColumn: (x: any) => void; deleteColumn: (x: any) => void; duplicateLine: (x: any) => void; moveLineToTop: (x: any) => void; moveLineUp: (x: any) => void; moveLineDown: (x: any) => void; moveLineToBottom: (x: any) => void; sortColumn: (columnId: number, order: 'asc' | 'desc') => void; values: () => void; dump: () => void; dumpLine: (lineId: number) => void; dumpLines: () => void; _setTable: (options: TableOptionsInit) => void; } export declare class SimpleTable extends Components.Table { constructor(options: TableOptionsInit); } export declare class Table extends Components.Table { constructor(options: TableOptionsInit); }