DOMRectReadOnly: {
    prototype: DOMRectReadOnly;
    fromRect(other?: DOMRectInit): DOMRectReadOnly;
    new (
        x?: number,
        y?: number,
        width?: number,
        height?: number,
    ): DOMRectReadOnly;
}

Type declaration