UNPKG

@zoom-image/svelte

Version:
14 lines (11 loc) 609 B
import * as svelte_store from 'svelte/store'; import * as _zoom_image_core from '@zoom-image/core'; import { ZoomImageWheelState, ZoomImageWheelStateUpdate } from '@zoom-image/core'; declare function useZoomImageWheel(): { createZoomImage: (container: HTMLElement, options?: _zoom_image_core.ZoomImageWheelOptions | undefined) => void; zoomImageState: { subscribe: (this: void, run: svelte_store.Subscriber<ZoomImageWheelState>, invalidate?: () => void) => svelte_store.Unsubscriber; }; setZoomImageState: (state: ZoomImageWheelStateUpdate) => void; }; export { useZoomImageWheel };