/** * Checks whether an element is within the viewport. * * @param element - The target element. * @returns `true` when the element intersects the viewport. * * @example * const el = document.createElement('div') * document.body.appendChild(el) * console.log(isInViewport(el)) * * @since 1.0.0 */ declare const isInViewport: (element: Element) => boolean; export default isInViewport;