/**-----------------------------------------------------------------------------------------
* Copyright © 2023 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 `ownerDocument` of the element.
 */
export declare const useDocument: (ref: React.RefObject<HTMLElement | null | {
    element: HTMLElement | null;
}>) => () => Document;
