import { NestedCollectionFetchAllCollectionState } from './NestedCollectionFetchAllCollectionState'; import { QueryState, TaskState } from '@wix/bex-core'; import { TypedEmitter } from '@wix/bex-core/events'; import { NestedCollectionState } from './NestedCollectionState'; import { EagerLazyModeOptions } from './types'; export interface NestedCollectionFetchAllStateParams { readonly nestedCollectionState: NestedCollectionState; readonly query: QueryState<{}>; readonly options: EagerLazyModeOptions; } export declare class NestedCollectionFetchAllState { readonly nestedCollectionState: NestedCollectionState; readonly events: TypedEmitter<{ fetchAllAbortSignal: () => unknown; }>; readonly fetchedAllPromise: Promise; readonly options: EagerLazyModeOptions; readonly query: QueryState<{}>; readonly initTask: TaskState; readonly collections: NestedCollectionFetchAllCollectionState[]; isFetchAllAborted: boolean; constructor(params: NestedCollectionFetchAllStateParams); init(): () => void; _setInitialExpandAllByThreshold(): void; _populateParentIdRequestsCache(): void; get uniqueCollections(): NestedCollectionFetchAllCollectionState[]; get total(): number; _otherLevelSameCollectionExists(collection: NestedCollectionFetchAllCollectionState): boolean; } //# sourceMappingURL=NestedCollectionFetchAllState.d.ts.map