export class DOMRect { /** * @param {number} x - The x coordinate of the top-left corner of the rectangle. * @param {number} y - The y coordinate of the top-left corner of the rectangle. * @param {number} width - The width of the rectangle. * @param {number} height - The height of the rectangle. */ constructor(x: number, y: number, width: number, height: number); /** @type {number} */ x: number; /** @type {number} */ y: number; /** @type {number} */ width: number; /** @type {number} */ height: number; /** @type {number} */ get top(): number; /** @type {number} */ get bottom(): number; /** @type {number} */ get left(): number; /** @type {number} */ get right(): number; }