/** * Calculates the distance (in px) an element overflows the page (and gutter). * If left aligned, returns the overflow on the right side, and vice versa * * @param element element to test page overflow * @return object with the offset distance `value` in pixels, and the `side` of the page it's overflowing */ declare function calculateElementOverflow(element: HTMLElement | null): { value: number; side: string; } | undefined; export default calculateElementOverflow; export { }