import { WixPatternsContainer, CollectionState, FiltersMap, KeyedItem } from '@wix/bex-core'; import { ToolbarCollectionState } from './ToolbarCollectionState'; import { FoldersAndItemsCollectionsState, FoldersAndItemsCollectionsStateInitParams, PartialAllFilters } from './FoldersAndItemsCollectionsState'; import { InfiniteScrollTableState } from './InfiniteScrollTableState'; import { TableVirtualState } from './TableVirtualState'; export interface TableFoldersStateParams { readonly items: CollectionState; readonly folders: CollectionState; readonly container: WixPatternsContainer; readonly toolbar?: ToolbarCollectionState>; } interface Item { _tag: 'item'; originalKeyedItem: KeyedItem; } interface Folder { _tag: 'folder'; originalKeyedItem: KeyedItem; } export type RowItem = Item | Folder; export type RowKeyedItem = KeyedItem>; export declare function isItemKeyedItem(keyedItem: RowKeyedItem): keyedItem is KeyedItem>; export declare function isFolderKeyedItem(keyedItem: RowKeyedItem): keyedItem is KeyedItem>; interface TableFoldersStateInitParams extends FoldersAndItemsCollectionsStateInitParams { } export declare class TableFoldersState { readonly container: WixPatternsContainer; readonly table: InfiniteScrollTableState; readonly toolbar: ToolbarCollectionState>; readonly virtual: TableVirtualState, T1, Partial>; readonly collections: FoldersAndItemsCollectionsState; constructor(params: TableFoldersStateParams); get showItemsSection(): boolean; get showFoldersSection(): boolean; get tableState(): InfiniteScrollTableState; get showEmptyState(): boolean; get showErrorState(): boolean; get errorStatus(): import("@wix/bex-core").QueryResultStatusError, Partial> | undefined; get showLoadingState(): boolean; get initTask(): import("@wix/bex-core").TaskState; retryErrorState: () => void; get keyedItems(): RowKeyedItem[]; init(params: TableFoldersStateInitParams): () => void; } export {}; //# sourceMappingURL=TableFoldersState.d.ts.map