export interface SWCResizeObserverEntry { contentRect : DOMRectReadOnly ; } export interface SWCResizeObserver { new ( callback ) : SWCResizeObserver ; disconnect ( ) : void ; observe ( target ) : void ; unobserve ( target ) : void ; } export interface WithSWCResizeObserver { ResizeObserver : SWCResizeObserver ; } export type SWCResizeObserverCallback = ( entries : SWCResizeObserverEntry [ ] , observer : SWCResizeObserver ) => void ;