import type { SerializedNode, Viewport } from '../types/events'; /** * Get current viewport information */ export declare function getViewport(): Viewport; /** * Get maximum scroll Y position */ export declare function getMaxScrollY(): number; /** * Generate a CSS selector for an element */ export declare function generateSelector(element: Element): string; /** * Get visible text content of an element (truncated) */ export declare function getElementText(element: Element, maxLength?: number): string; /** * Serialize a DOM node to our format */ export declare function serializeNode(node: Node, excludeSelectors?: string[]): SerializedNode | null; /** * Check if an element is visible in viewport */ export declare function isElementVisible(element: Element): boolean; /** * Check if an element is interactive */ export declare function isInteractiveElement(element: Element): boolean; /** * Get element interactivity attributes for smarter dead click detection */ export declare function getElementInteractivityInfo(element: Element): { hasOnClick: boolean; hasCursorPointer: boolean; role: string | null; classList: string[]; tabIndex: number | undefined; };