import React, { FunctionComponent } from 'react'; import { WidgetTableMeta } from '../../interfaces/widget'; import { DataItem, PendingDataItem } from '../../interfaces/data'; import { TableEventListeners } from 'antd/lib/table'; import { Route } from '../../interfaces/router'; import { AssociatedItem } from '../../interfaces/operation'; interface SameBcHierarchyTableOwnProps { meta: WidgetTableMeta; assocValueKey?: string; depth?: number; selectable?: boolean; onRow?: (record: DataItem, index: number) => TableEventListeners; } export interface SameBcHierarchyTableProps extends SameBcHierarchyTableOwnProps { data: AssociatedItem[]; cursor: string; parentCursor: string; route: Route; loading: boolean; pendingChanges: Record; onDeselectAll?: (bcName: string, depthFrom: number) => void; onSelect?: (bcName: string, depth: number, dataItem: AssociatedItem, widgetName: string, assocValueKey: string) => void; onSelectAll?: (bcName: string, depth: number, assocValueKey: string, selected: boolean) => void; onDrillDown?: (widgetName: string, cursor: string, bcName: string, fieldKey: string) => void; onExpand: (bcName: string, depth: number, cursor: string) => void; } export declare const Exp: FunctionComponent; export declare const SameBcHierarchyTable: FunctionComponent; declare const ConnectedHierarchyTable: import("react-redux").ConnectedComponentClass, Pick & SameBcHierarchyTableOwnProps>; export default ConnectedHierarchyTable;