import { n as WheelNudgeConsumer, t as WheelDirection } from "./wheel-nudge-oMFKat9P.js"; import { CSSResultGroup, LitElement, html } from "lit"; export type SwipeInputDetail = { readonly value: number; }; export type SwipeInputEvent = CustomEvent; export interface SwipeElementEventMap { input: SwipeInputEvent; } export interface SwipeElement { addEventListener: ((type: K, listener: (this: SwipeElement, event: SwipeElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void); } declare global { interface HTMLElementTagNameMap { 'ixfx-swipe': SwipeElement; } } declare const SwipeElement_base: typeof LitElement & (new (...args: any[]) => WheelNudgeConsumer); export declare class SwipeElement extends SwipeElement_base { #private; barSpacing: number; barWidth: number; debounceMs: number; retractDurationMs: number; private _startX; private _currentX; private _pointerId; private _componentWidth; private _isDragging; private _offset; private _width; private _height; private _animRafId; private _debounceTimer; private _animStartOffset; private _animStartTime; private _resizeObserver; /** * Wheel handler — installed by WheelNudgeMixin on the host. Emits `input` * synchronously on each tick (matching the user-confirmed "mirror drag" * semantic) and schedules the same retraction animation the drag releases * with, so the visual resets after a short idle. * * Step size: 10% of the [-1, 1] value range (= 0.1). Shift halves to 0.05. */ _applyWheelDelta(direction: WheelDirection, event: WheelEvent): void; connectedCallback(): void; disconnectedCallback(): void; private _onPointerDown; private _onPointerMove; static styles: CSSResultGroup; render(): ReturnType; } export {};