import { m as Signal } from "../children-s3nFjpLA.mjs"; //#region src/utilities/element-scroll.d.ts type ElementScrollResult = { /** Horizontal scroll position (writable — setting it scrolls the element). */x: Signal; /** Vertical scroll position (writable — setting it scrolls the element). */ y: Signal; } & Disposable; /** * Returns writable signals for an element's scroll position. * * Reading `x()` / `y()` returns the current `scrollLeft` / `scrollTop`. * Writing `x(100)` or `y(200)` scrolls the element to that position. */ declare function createElementScroll(target: Element): ElementScrollResult; //#endregion export { createElementScroll };