import { Order } from '../QueryResultSimulation';
import { OptimisticPatch } from '../CollectionOptimisticPatch';
export declare function mergePatchedItems<T>(toMerge: {
    all: Map<string, {
        item: T;
        optimisticPatch: OptimisticPatch<T>;
    }>;
    created: Map<string, {
        item: T;
        optimisticPatch: OptimisticPatch<T>;
    }>;
}, { page, itemKey, orders, itemPredicate, }: {
    page: T[];
    limit: number;
    itemKey: (item: T) => string;
    orders: Order<T>[];
    itemPredicate: (item: T) => boolean;
}): {
    item: T;
    orderByItem?: T | undefined;
}[];
//# sourceMappingURL=mergePatchedItems.d.ts.map