import { ICollectionComponentState } from '../state/ICollectionComponentState';
import { CollectionState } from '@wix/bex-core';
export declare function useSyncCollectionOnEntityReturn<T, S extends ICollectionComponentState>({ cachedState, updateCollection, checkIfViewSynced, getEntityFromRouterState, getCollectionsToUpdate, }: {
    cachedState?: S;
    updateCollection: (collectionToUpdate: CollectionState<T>, entity: T) => void;
    checkIfViewSynced: (collectionToUpdate: CollectionState<T>, entity: T) => Promise<boolean>;
    getEntityFromRouterState: (state: {
        _updatedEntity?: T;
        _createdEntity?: T;
    }) => T | undefined;
    getCollectionsToUpdate?: (state: S, entity: T) => CollectionState<T>[] | null;
}): void;
//# sourceMappingURL=useSyncCollectionOnEntityReturn.d.ts.map