/** * Read scroll position and extents for either the document or a specific * scrollable element. * * - Without `selector`: returns `window.scrollX/scrollY` and document * `documentElement.scrollWidth/Height - window.innerWidth/Height` (clamped * to 0 for non-scrollable axes). * - With `selector`: returns `el.scrollLeft/scrollTop` and * `el.scrollWidth/Height - el.clientWidth/Height` so callers can detect * inner-viewport "scrolled to bottom" without falling back to `eval`. * * Mirrors the precedence already accepted by `electron_scroll_to_element` / * `electron_scroll_by_pixels` (which take an optional selector) — fixes #16 * where the selector argument was silently stripped. */ export declare const getScrollPosition: import("../types").CommandModule;