import { OptimisticPatch } from '../CollectionOptimisticPatch';
import { KeyedItem } from '../../model';
export declare function prepareItemsToMergeIntoPage<T>(patches: OptimisticPatch<T>[], { itemPredicate, currentItemsMap, }: {
    itemPredicate: (item: T) => boolean;
    currentItemsMap: Map<string, KeyedItem<T>>;
}): {
    all: Map<string, {
        item: T;
        optimisticPatch: OptimisticPatch<T>;
    }>;
    created: Map<string, {
        item: T;
        optimisticPatch: OptimisticPatch<T>;
    }>;
};
//# sourceMappingURL=prepareItemsToMergeIntoPage.d.ts.map