import { CollectionOptimisticActions, CollectionOptimisticActionsBaseParams, CollectionOptimisticSequenceExecutor, CollectionState, Filter, FiltersMap, QueryState, WixPatternsContainer } from '@wix/bex-core';
import { NestedTableLevelDescriptor } from './NestedTableLevelDescriptor';
export interface NestedOptimisticActionsState<T, F extends FiltersMap> {
    readonly parentId?: string;
    readonly sequences?: Map<string, CollectionOptimisticSequenceExecutor>;
    readonly query?: QueryState<F>;
    readonly levelDescriptor: NestedTableLevelDescriptor<string, T, F>;
    parentFilter?: Filter<string[]>;
}
export declare function createNestedOptimisticActions<T, F extends FiltersMap>(container: WixPatternsContainer, collection: CollectionState<T, F>, state?: NestedOptimisticActionsState<T, F>, params?: Partial<CollectionOptimisticActionsBaseParams<T, F>>): CollectionOptimisticActions<T, F>;
//# sourceMappingURL=createNestedOptimisticActions.d.ts.map