export default function useWaitForDOMRef(ref: any, onResolved?: any): any;