import { FiltersMap, TaskState } from '@wix/bex-core';
import { NestedCollectionFetchAllState } from './NestedCollectionFetchAllState';
import { NestedCollectionLevelDescriptor } from './NestedCollectionLevelDescriptor';
export interface NestedCollectionFetchAllCollectionStateParas<T, F extends FiltersMap> {
    readonly fetchAllState: NestedCollectionFetchAllState;
    readonly levelDescriptor: NestedCollectionLevelDescriptor<T, F>;
}
export declare class NestedCollectionFetchAllCollectionState<T, F extends FiltersMap> {
    readonly collection: import("@wix/bex-core").CollectionState<T, F>;
    readonly levelDescriptor: NestedCollectionLevelDescriptor<T, F>;
    readonly parentFilter: import("@wix/bex-core").Filter<string[]> | undefined;
    readonly fetchAllState: NestedCollectionFetchAllState;
    readonly initTask: TaskState<unknown>;
    readonly originalLimit: number;
    constructor(params: NestedCollectionFetchAllCollectionStateParas<T, F>);
    _setWithParentFilterQueryData(itemsByParentId: Map<string, T[]>): void;
    _setSectionQueryData(): void;
    _populateCacheWithEmptyResult(parents: {
        id: string;
    }[]): void;
    _populateCache(next: NestedCollectionFetchAllCollectionState<any, any> | null): void;
    _exceedsTotalThreshold(): boolean;
    _exceedsLevelThreshold(): boolean;
    _exceedsThreshold(): boolean;
    _emitFetchAllAbortSignalIfExceedsThreshold(): void;
    init(): () => void;
}
//# sourceMappingURL=NestedCollectionFetchAllCollectionState.d.ts.map