import type { ActionResult } from '../types.js'; /** * Options for scroll action */ export interface ScrollOptions { /** Scroll behavior */ behavior?: ScrollBehavior; /** Block position for scrollIntoView */ block?: ScrollLogicalPosition; /** Inline position for scrollIntoView */ inline?: ScrollLogicalPosition; } /** * Tool for scrolling the page or elements */ export declare class ScrollTool { /** * Scroll to an element * * @param selector - CSS selector for the element * @param options - Scroll options * @returns Action result */ static execute(selector: string, options?: ScrollOptions): Promise; /** * Scroll to top of page * * @param behavior - Scroll behavior * @returns Action result */ static toTop(behavior?: ScrollBehavior): Promise; /** * Scroll to bottom of page * * @param behavior - Scroll behavior * @returns Action result */ static toBottom(behavior?: ScrollBehavior): Promise; /** * Scroll by a specific amount * * @param x - Horizontal scroll amount (pixels) * @param y - Vertical scroll amount (pixels) * @param behavior - Scroll behavior * @returns Action result */ static by(x: number, y: number, behavior?: ScrollBehavior): Promise; /** * Scroll to a specific position * * @param x - Horizontal position (pixels) * @param y - Vertical position (pixels) * @param behavior - Scroll behavior * @returns Action result */ static to(x: number, y: number, behavior?: ScrollBehavior): Promise; /** * Scroll within a scrollable container * * @param containerSelector - CSS selector for the scrollable container * @param targetSelector - CSS selector for the target element within container * @param options - Scroll options * @returns Action result */ static withinContainer(containerSelector: string, targetSelector: string, options?: ScrollOptions): Promise; /** * Check if an element is in the viewport * * @param selector - CSS selector for the element * @returns Whether the element is visible */ static isInViewport(selector: string): boolean; } //# sourceMappingURL=ScrollTool.d.ts.map