/** * The `Scroller` class. * * @public */ export declare class Scroller { /** * Constructs a new instance of the `Scroller` class. * * @public */ constructor(); /** * Scrolls the given element to the top. * * @param element - The element to scroll. * @param options - Optional scroll options. * @public */ scrollToTop(element: HTMLElement, options?: ScrollOptions): void; /** * Scrolls the given element to the bottom. * * @param element - The element to scroll. * @param options - Optional scroll options. * @public */ scrollToBottom(element: HTMLElement, options?: ScrollOptions): void; /** * Scrolls the given element to the left. * * @param element - The element to scroll. * @param options - Optional scroll options. * @public */ scrollToLeft(element: HTMLElement, options?: ScrollOptions): void; /** * Scrolls the given element to the right. * * @param element - The element to scroll. * @param options - Optional scroll options. * @public */ scrollToRight(element: HTMLElement, options?: ScrollOptions): void; /** * Scrolls the given element into view. * * @param element - The element to scroll into view. * @param options - Optional scroll options. * @public */ scrollToElement(element: HTMLElement, options?: ScrollIntoViewOptions): void; /** * Scrolls the given element into view within a specific container. * * @param container - The container element to scroll within. * @param element - The element to scroll into view. * @param options - Optional scroll options. * @public */ scrollToElementInContainer(container: HTMLElement, element: HTMLElement, options?: ScrollIntoViewOptions): void; /** * Finds the nearest scrollable parent of the given element, * supporting Shadow DOM and slotting. * * @param element - The element to find the scroll parent for. * @returns The nearest scrollable parent element, or `null` if none found. * @public */ tryFindScrollParent(element: HTMLElement | null): HTMLElement | null; } /** * @public */ export declare class ScrollerServiceLocator { private static _current; static get current(): Scroller; static isSet(): boolean; static set(current: Scroller): void; } //# sourceMappingURL=Scroller.d.ts.map