import { LitElement, html } from "lit";
export type SnapLogic = `centre` | `balanced`;
export type ClickSnapMode = `closest` | `step`;
export declare class SnapContainer extends LitElement {
static styles: import("lit").CSSResult;
orientation: `horizontal` | `vertical`;
snapPositions: number;
snapLogic: SnapLogic;
clickSnap: `closest` | `step`;
snap: number;
private _dragging;
private _dragStart;
private _dragThreshold;
private _thresholdReached;
private _currentDragIndex;
private _child;
private get _isHorizontal();
private _getChild;
private _computeSnapPositions;
private _getSnapIndex;
private _clampChildPosition;
private _updateChildPosition;
private _onPointerDown;
private _onPointerMove;
private _onPointerUp;
private _onKeyDown;
firstUpdated(): void;
updated(changedProperties: Map): void;
render(): ReturnType;
}
export type SnapChangeDetail = {
readonly previousSnap: number;
readonly newSnap: number;
};
export type SnapChangeEvent = CustomEvent;
export type SnapInputDetail = {
readonly index: number;
};
export type SnapInputEvent = CustomEvent;
declare global {
interface HTMLElementTagNameMap {
'ixfx-snap-container': SnapContainer;
}
}