import type { Element } from "@hylimo/diagram-common"; import { AbsolutePoint, RelativePoint } from "@hylimo/diagram-common"; /** * When doing a translation move, computes the elements to which a prediction should be applied * If there are only points, only those are returned * If there are only canvas elements, the positions of those elements are returned * If there are both, no points are returned as in this case the prediction is unreliable * * @param elements the elements to compute the updates for * @param elementLookup a lookup table for all current elements * @returns the elements to update, or undefined if the prediction is unreliable */ export declare function computeElementsToUpdate(elements: Element[], elementLookup: Record): (AbsolutePoint | RelativePoint)[] | undefined; //# sourceMappingURL=translationHandlerUtils.d.ts.map