type NativeScrollbarSyncOptions = { /** The native `overflow: scroll` container that renders the OS scrollbar. */ element: HTMLElement; /** Child element that is sized to create the scrollable range. */ spacer: HTMLElement; /** Which axis this scrollbar controls. */ orientation: 'x' | 'y'; }; /** * Bridges a native scroll container to the artboard offset. * * artboard-deluxe is transform-based and has no native scrolling, so the OS * scrollbar can't be used directly. This plugin keeps a real `overflow: scroll` * element in sync with the artboard offset in both directions, which lets the * browser render its default scrollbar while the artboard still owns the * pan/zoom model: * * - artboard → native: the spacer is sized so the native max-scroll equals the * artboard's scrollable range (correct thumb proportions), and `scrollTop`/ * `scrollLeft` mirrors the current offset every frame. * - native → artboard: user-initiated scrolls (thumb drag, track click, wheel * over the bar) are pushed back to the artboard via `setOffset`. */ export declare const nativeScrollbarSync: (options: NativeScrollbarSyncOptions) => import("artboard-deluxe").ArtboardPluginDefinition; export {};