/** * Attempts to scroll an element into view within another container element if * needed. If either the container or element are `null`, nothing will happen. * * @param container The container element that should be scrolled if the child * element is not within view. * @param element The element that should be visible within the container * element's scroll area. */ export default function scrollIntoView(container: HTMLElement | null, element: HTMLElement | null): void;