import { FiltersMap, KeyedItem, MultiCollectionSupport, TaskState } from '@wix/bex-core'; import { NestedCollectionNodeState } from './NestedCollectionNodeState'; import { TableColumn } from '../../model'; import { NestedTableNestedModeState } from './NestedTableNestedModeState'; import { ReactNode } from 'react'; import { NestedTableNodeStateBIReporter } from './NestedTableNodeStateBIReporter'; import { NestedTableLevelDescriptor } from './NestedTableLevelDescriptor'; export interface NestedTableDataItem { state: NestedTableNodeState; originalKeyedItem: KeyedItem; } interface NestedTableSkeletonItem { state: NestedTableNodeState; originalKeyedItem: undefined; } export type NestedTableItem = NestedTableDataItem | NestedTableSkeletonItem; export type NestedTableKeyedItem = KeyedItem>; export type RenderMainColumn = (item: T) => { title?: string; subtitle?: string; image?: ReactNode; }; export type NestedTableNestColumns = Partial['render']>>; export interface NestedTableNodeStateParams { readonly nestedTable: NestedTableNestedModeState; readonly node: NestedCollectionNodeState; readonly levelDescriptor: NestedTableLevelDescriptor; readonly parentNode: NestedTableNodeState | null; readonly parent: KeyedItem | null; } export declare class NestedTableNodeState { readonly nestedTable: NestedTableNestedModeState; readonly node: NestedCollectionNodeState; readonly levelDescriptor: NestedTableLevelDescriptor; readonly parentNode: NestedTableNodeState | null; readonly parent: KeyedItem | null; readonly bi: NestedTableNodeStateBIReporter; readonly multi: MultiCollectionSupport; _rowNum?: number; readonly initTask: TaskState; readonly parentKeyToChildrenMap: Map>; readonly parentKeyToChildrenMapAtom: import("mobx").IAtom; constructor(params: NestedTableNodeStateParams); get collection(): import("@wix/bex-core").CollectionState; get depth(): number; get _expanded(): boolean; get columns(): Partial ReactNode>> | undefined; get renderMainColumn(): RenderMainColumn | undefined; get showHoverHighlight(): boolean; _changeHover(hovered: boolean): void; get showEmptyState(): boolean; get showLoadingState(): boolean; get showErrorState(): boolean; get errorStatus(): import("@wix/bex-core").QueryResultStatusError, unknown> | null; retryErrorState: () => void; get _isNotExpandableWhenEmpty(): boolean; get _keyedItemsIfExpanded(): NestedTableKeyedItem[]; get _keyedItemsMap(): Map>; get keyedItems(): NestedTableKeyedItem[]; getKeyedItem(key: string): NestedTableKeyedItem | undefined; getKeyedItemByIndex(ind: number): NestedTableKeyedItem; getCollectionSnapshot(): { viewShown: string | undefined; tabShown: string; sortOrderApplied: string | undefined; filtersApplied: string; filteredListSizeShown: number; }; _register(): (() => void) | undefined; _toggleExpand(): Promise; _preRegisterAll(): Promise; _notify(): void; _notifyAll(): void; init({ skipCollectionInit }?: { skipCollectionInit?: boolean; }): () => void; createNode({ parent, }: { parent: KeyedItem; }): NestedTableNodeState | null; } export {}; //# sourceMappingURL=NestedTableNodeState.d.ts.map