import { UIElement } from '@instructure/shared-types'; /** * --- * category: utilities/DOM * --- * * Determine if an element is visible. * * @module isVisible * @param { Node | Window | React.ReactElement | React.Component | function | null } el - component or DOM node * @param {boolean} recursive - by default all parent elements are checked * recursively to accurately determine visibility. setting this to `false` * will determine visibility based only on the styles of the given node. * @returns {boolean} if the element is visible */ declare function isVisible(el?: UIElement, recursive?: boolean): boolean; export default isVisible; export { isVisible }; //# sourceMappingURL=isVisible.d.ts.map