/** * SwipeNavigation — iOS-style edge-swipe back (and optional right-edge * forward) for installed apps. Renders nothing; attaches document-level * pointer listeners and drives CSS via custom properties. * * DOM / CSS contract (styled in shared/styles/native.css §4): * - the swiped element is `rootSelector` (default `[data-swipe-root]`, * falling back to `#root`) * - during a drag it carries `data-swipe-dir="back"|"forward"` and * `--swipe-progress` (0..1); on commit `data-swipe-committing` is added * while the CSS transition finishes, then navigation happens * - swipes never start inside `[role=dialog]`, open sheets, * `[data-swipe-ignore]` / `[data-no-swipe-nav]`, editable fields, or * horizontally scrollable containers * - Android is back-only (the right edge belongs to the system gesture) * - `prefers-reduced-motion`: no transform, but commit still navigates */ export interface SwipeNavigationProps { /** * Enable the gesture. Default: native Capacitor app, or any installed app * on a touch device. */ enabled?: boolean; /** Edge hot-zone width in px. Default 24. */ edgeWidth?: number; /** Fraction of the viewport the finger must travel to commit. Default 0.35. */ commitRatio?: number; /** Flick velocity (px/ms) that commits regardless of distance. Default 0.4. */ velocityThreshold?: number; /** Allow right-edge forward swipe. Default: iOS only. */ forward?: boolean; /** Selector for the element that translates during the drag. */ rootSelector?: string; } export declare function SwipeNavigation({ enabled, edgeWidth, commitRatio, velocityThreshold, forward, rootSelector, }: SwipeNavigationProps): null; //# sourceMappingURL=SwipeNavigation.d.ts.map