/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import * as React from 'react'; /** * Returns a function, which gets the `defaultView` based on the `ownerDocument` of the element. */ export declare const useWindow: (ref: React.RefObject) => () => Window;