import { Order } from '../QueryResultSimulation';
export declare function orderByOrders<T>(pageWithPatchedItems: {
    item: T;
    orderByItem?: T;
}[], toMerge: {
    all: Map<string, {
        item: T;
        keepPosition?: boolean;
    }>;
    created: Map<string, {
        item: T;
        keepPosition?: boolean;
    }>;
}, { limit, itemKey, orders, }: {
    limit: number;
    itemKey: (item: T) => string;
    orders: Order<T>[];
}): T[];
//# sourceMappingURL=orderByOrders.d.ts.map