import * as React from 'react';
/**
 * Hook to observe the visibility of a pane. Accepts a callback to call when the visibility changes,
 * and returns a function to check whether a given domRect is visible within the pane.
 *
 * @param pane - pane to observe visibility of
 * @param onVisibilityChange - callback to call when visibility changes
 */
export default function usePaneVisibility(pane: React.RefObject<HTMLElement>, onVisibilityChange: (isVisible: boolean) => void): {
    isRectVisible: (domRect: DOMRect) => Promise<boolean>;
};
//# sourceMappingURL=use-pane-visibility.d.ts.map