import { NestedTableState } from './NestedTableState';
import { MultiCollectionSupport, TaskState } from '@wix/bex-core';
import { TableVirtualState } from '../TableVirtualState';
import { NestedTableFlatKeyedItem, NestedTableFlatModeSectionState } from './NestedTableFlatModeSectionState';
import { NestedTableFlatModeStateBIReporter } from './NestedTableFlatModeStateBIReporter';
export interface NestedTableFlatStateBaseParams<C extends string> {
    wrapper: NestedTableState<C>;
}
export declare class NestedTableFlatModeState<C extends string = string> {
    readonly wrapper: NestedTableState<C, import("@wix/bex-core").OptionalFiltersMap>;
    readonly virtual: TableVirtualState<NestedTableFlatKeyedItem<C, any, any>, any, any>;
    readonly initTask: TaskState<unknown>;
    readonly refreshTask: TaskState<unknown>;
    readonly sections: NestedTableFlatModeSectionState<C, any, any>[];
    readonly multi: MultiCollectionSupport<{}>;
    readonly bi: NestedTableFlatModeStateBIReporter<C>;
    readonly initSearchState: {
        initTask: TaskState<unknown>;
        init: () => () => void;
    };
    constructor(params: NestedTableFlatStateBaseParams<C>);
    get toolbar(): import("..").ToolbarCollectionState<any, any>;
    get tableState(): import("..").TableState<any, any>;
    get keyedItems(): NestedTableFlatKeyedItem<C, any, any>[];
    get showEmptyState(): boolean;
    get hasAvailableItems(): boolean;
    get resultOriginQuerySearch(): string | undefined;
    get hasNonPersistentActiveFilters(): boolean;
    get showErrorState(): boolean;
    get showLoadingState(): boolean;
    retryErrorState: () => void;
    get errorStatus(): import("@wix/bex-core").TaskStatusError<unknown, unknown> | import("@wix/bex-core").QueryResultStatusError<import("@wix/bex-core").DataResultKeyed<unknown>, {}> | undefined;
    get query(): import("@wix/bex-core").QueryState<{}>;
    get levels(): import("./NestedTableLevelDescriptor").NestedTableLevelDescriptor<C, any, any>[];
    _populateCacheAndSearch(): Promise<void>;
    _runSearch: () => Promise<void>;
    _getSearchInitState(): {
        initTask: TaskState<unknown>;
        init: () => () => void;
    };
    init({ isUsingCache }?: {
        isUsingCache?: boolean | undefined;
    }): () => void;
    _refreshAll: () => void;
}
//# sourceMappingURL=NestedTableFlatModeState.d.ts.map