import React, { FunctionComponent } from 'react'; import { WidgetTableMeta, WidgetTableHierarchy } from '../../interfaces/widget'; import { DataItem, PendingDataItem } from '../../interfaces/data'; import { RowMetaField } from '../../interfaces/rowMeta'; import { TableEventListeners } from 'antd/lib/table'; import { Route } from '../../interfaces/router'; import { AssociatedItem } from '../../interfaces/operation'; interface HierarchyTableOwnProps { meta: WidgetTableMeta; assocValueKey?: string; nestedByBc?: string; parentBcName?: string; showPagination?: boolean; onRow?: (record: DataItem, index: number) => TableEventListeners; } export interface HierarchyTableProps extends HierarchyTableOwnProps { childData: AssociatedItem[]; hierarchyLevels: WidgetTableHierarchy[]; nestedBcName: string; widgetName?: string; indentLevel: number; data: AssociatedItem[]; rowMetaFields: RowMetaField[]; cursor: string; parentCursor: string; route: Route; loading: boolean; selectable?: boolean; pendingChanges: Record; onDeselectAll?: (bcNames: string[]) => void; onSelect?: (bcName: string, dataItem: AssociatedItem, widgetName: string, assocValueKey: string) => void; onSelectAll?: (bcName: string, assocValueKey: string, selected: boolean) => void; onDrillDown?: (widgetName: string, cursor: string, bcName: string, fieldKey: string) => void; onExpand: (bcName: string, nestedBcName: string, cursor: string, route: Route) => void; } export declare const Exp: FunctionComponent; export declare const HierarchyTable: FunctionComponent; declare const ConnectedHierarchyTable: import("react-redux").ConnectedComponentClass, Pick & HierarchyTableOwnProps>; export default ConnectedHierarchyTable;