import type { MaybeRefOrGetter } from '../types/shared/utils'; import type { ComponentPublicInstance } from 'vue'; type ElementType = null | string | object | SVGElement | HTMLElement | ComponentPublicInstance; export declare function getStyle(el: HTMLElement): CSSStyleDeclaration; export declare function getElement(el?: MaybeRefOrGetter, from?: MaybeRefOrGetter): HTMLElement | null; /** Whether the element scrolls with the viewport instead of scrolling on its own. */ export declare function isViewportScroll(el: HTMLElement): boolean; /** Viewport-relative top offset for scrollspy */ export declare function getElementOffsetFromScrollContainer(element: Element, scrollContainer: HTMLElement): { top: number; left: number; }; /** Whether the element is allowed to scroll on each axis by its computed `overflow`. */ export declare function isScrollable(el: HTMLElement): { x: boolean; y: boolean; }; /** Whether the content overflows on each axis, whatever the `overflow` style says. */ export declare function hasScrollbar(el: HTMLElement): { x: boolean; y: boolean; }; export declare function getScrollTarget(el: HTMLElement, isHorizontal?: boolean): Window | HTMLElement; export declare function getScrollElement(target?: Window | Document | HTMLElement | null): HTMLElement; /** Event target for scroll listeners. Document scrolling fires on `window`, not `documentElement`. */ export declare function getScrollListener(target?: Window | Document | HTMLElement | null): HTMLElement | (Window & typeof globalThis); export declare function getScrollPosition(el: HTMLElement | Window | Document): { scrollTop: number; scrollLeft: number; scrollWidth: number; scrollHeight: number; clientWidth: number; clientHeight: number; }; /** Whether the element or one of its ancestors up to `` really scrolls. */ export declare function isOverflowScrollable(ele: Element): boolean; export declare function awaitAnimationEnd(element?: Element): Promise; export declare function resolveScrollBehavior(behavior: ScrollBehavior, prefersMotionReduce?: MaybeRefOrGetter): ScrollBehavior; export {};