@agentic-intelligence/dom-engine
Version:
Agentic DOM Intelligence - A lightweight TypeScript library for DOM analysis and manipulation, designed for web automation and AI agents
17 lines • 703 B
TypeScript
/**
* Scroll and navigation manager
*/
import { ScrollInfo, ScrollResult, DOMContext } from '../types';
/**
* Calculates detailed scroll information for the page
* @param context - DOM context (optional, defaults to current window/document)
* @returns Object with complete scroll information
*/
export declare function calculateScrollInfo(context?: DOMContext): ScrollInfo;
/**
* Scrolls to new content on the page using current scroll information
* @param context - DOM context (optional, defaults to current window/document)
* @returns Object with scroll operation result
*/
export declare function scrollToNewContent(context?: DOMContext): ScrollResult;
//# sourceMappingURL=scroll.d.ts.map