/** * Scrolls the page so the target element enters the viewport. * * @param target - The target element. * @param options - Optional scroll options. * @returns `true` when the element could be scrolled into view. * * @example * const el = document.createElement('div') * document.body.appendChild(el) * scrollToElement(el) // => true * * @since 1.0.0 */ declare const scrollToElement: (target: Element | null | undefined, options?: { behavior?: "auto" | "smooth"; offsetTop?: number; }) => boolean; export default scrollToElement;