///
export declare type DOMContainer = T | React.RefObject | null | (() => T | React.RefObject | null);
export declare const resolveContainerRef: (ref: DOMContainer | undefined) => HTMLBodyElement | T | null;
export default function useWaitForDOMRef(ref: DOMContainer | undefined, onResolved?: (element: T | HTMLBodyElement) => void): HTMLBodyElement | T | null;