import { ExpandedRowStore } from './expanded.subtable.data.store'; import { RevoGrid } from '../../interfaces'; import { DataProvider } from '../../services/data.provider'; import SubtableViewStore from './expanded.subtable.view.store'; declare type SubtableViewStores = { [T in RevoGrid.ColumnProp]: SubtableViewStore; }; /** * This is the plugin only for expanded subtables. Expanded row view logic belongs in `DataStore`. If we * were to remove this Plugin, expanded rows should still work. */ export default class ExpandedSubtablePlugin { private dataProvider; readonly dataStore: ExpandedRowStore; readonly viewStores: SubtableViewStores; constructor(dataProvider: DataProvider); setExpandedRowHover(hover: boolean): void; setSubtableColumns(newVal: { [key: string]: RevoGrid.ColumnRegular[]; }): void; setSubtableRows(newVal: RevoGrid.SubtableRowData): void; setViewport(colId: string, subtableCols: RevoGrid.ColumnRegular[]): void; } export {};