/**
 * Checks if two DOMRect objects intersect each other.
 *
 * @param rect1 - The first DOMRect object.
 * @param rect2 - The second DOMRect object.
 * @returns A boolean indicating whether the two DOMRect objects intersect.
 */
declare function areRectsIntersecting(rect1: DOMRect, rect2: DOMRect): boolean;
declare function calculateIntersectionArea(rect1: DOMRect, rect2: DOMRect): number;

export { areRectsIntersecting, calculateIntersectionArea };
