export default function doesElementScrolledTotally(element: HTMLElement, direction: { x?: number; y?: number; }): boolean;