import { Inset } from "../../core/generated/zenid-types.generated.js"; /** * Returns the intersection of two DOMRect objects. * If there is no intersection, returns null. * * @param a - The first DOMRect * @param b - The second DOMRect * @returns The intersection DOMRect or null if there is no intersection */ export declare function getViewportIntersection(a: DOMRect, b: DOMRect): DOMRect | null; /** * Calculates the relative position of rect1 with respect to rect2. * * @param rect1 - The first DOMRect * @param rect2 - The second DOMRect * @returns An Inset object representing the relative position */ export declare function getRelativePosition(rect1: DOMRect, rect2: DOMRect): Inset; //# sourceMappingURL=helpers.d.ts.map