import { WixPatternsContainer, CollectionState, FiltersMap } from '@wix/bex-core';
import { GridBaseState } from './GridBaseState';
import { ToolbarCollectionState } from './ToolbarCollectionState';
import { FoldersAndItemsCollectionsState, FoldersAndItemsCollectionsStateInitParams, PartialAllFilters } from './FoldersAndItemsCollectionsState';
import { GridSizePreset } from './gridSizePresets';
import { GridFoldersBIReporter } from './GridFoldersBIReporter';
import { ICollectionComponentState } from './ICollectionComponentState';
export interface GridFoldersStateParams<T1, F1 extends FiltersMap, T2, F2 extends FiltersMap> {
    readonly items: CollectionState<T1, F1>;
    readonly folders: CollectionState<T2, F2>;
    readonly container: WixPatternsContainer;
    readonly toolbar?: ToolbarCollectionState<T1, PartialAllFilters<F1, F2>>;
    readonly collections?: FoldersAndItemsCollectionsState<T1, F1, T2, F2>;
}
interface GridFoldersStateInitParams extends FoldersAndItemsCollectionsStateInitParams {
}
export declare class GridFoldersState<T1, F1 extends FiltersMap, T2, F2 extends FiltersMap> implements ICollectionComponentState {
    readonly container: WixPatternsContainer;
    readonly toolbar: ToolbarCollectionState<T1, Partial<F1 & F2>>;
    readonly items: GridBaseState<any, any>;
    readonly folders: GridBaseState<any, any>;
    readonly collections: FoldersAndItemsCollectionsState<T1, F1, T2, F2>;
    readonly bi: GridFoldersBIReporter<T1, F1, T2, F2>;
    readonly _subGrids: GridBaseState<any, any>[];
    readonly _sizePreset: GridSizePreset | undefined;
    showAllFolders: boolean;
    constructor(params: GridFoldersStateParams<T1, F1, T2, F2>);
    toggleShowAllFolders: () => void;
    get foldersLocalLimit(): number;
    get effectiveFoldersLocalLimit(): number | null;
    get showToggleShowAllLessButton(): boolean;
    get showFoldersSectionHeader(): boolean;
    get showItemsSection(): boolean;
    get initTask(): import("@wix/bex-core").TaskState<unknown>;
    get showErrorState(): boolean;
    get errorStatus(): import("@wix/bex-core").QueryResultStatusError<import("@wix/bex-core").DataResultKeyed<unknown>, Partial<F1 & F2>> | undefined;
    retryErrorState: () => void;
    get showLoadingState(): boolean;
    get showEmptyState(): boolean;
    get hasAvailableItems(): boolean;
    get resultOriginQuerySearch(): string | undefined;
    get hasNonPersistentActiveFilters(): boolean;
    get showItemsSectionHeader(): boolean;
    get showFoldersSection(): boolean;
    get showLoadingSection(): boolean;
    init(params: GridFoldersStateInitParams): () => void;
}
export {};
//# sourceMappingURL=GridFoldersState.d.ts.map