/**
 * This can be used to replace the global ResizeObserver with a proxy that
 * will work in popout windows by listening to document resize instead
 *
 * To us it just include the following line:
 *
 * import "./ExtendedResizeObserver";
 *
 * Note: this code was written by chat gpt!
 */
declare const OriginalResizeObserver: {
    new (callback: ResizeObserverCallback): ResizeObserver;
    prototype: ResizeObserver;
};
interface ExtendedResizeObserver extends ResizeObserver {
    __element?: Element;
    __document?: Document;
    __cleanup?: () => void;
}
declare const ResizeObserverProxy: {
    new (callback: ResizeObserverCallback): ResizeObserver;
    prototype: ResizeObserver;
};
