/** * tilt-effect.ts - Pointer-driven 3D tilt effect * * Attaches pointer listeners to an element and sets CSS custom properties: * --rot-x, --rot-y (rotation in deg) * --tilt-x, --tilt-y (normalized -1..1 for parallax offsets) * --rot-perspective (perspective value in px) * * Does NOT set style.transform — the consuming CSS composes the transform * from these variables so tilt never conflicts with scale or other transforms. * * Skips touch pointers. Respects prefers-reduced-motion. */ export interface TiltEffectOptions { /** Maximum tilt angle in degrees (default 4) */ maxDegrees?: number; /** CSS perspective value in px (default 800) */ perspective?: number; } export interface TiltEffectHandle { destroy(): void; } export declare function attachTiltEffect(element: HTMLElement, options?: TiltEffectOptions): TiltEffectHandle; //# sourceMappingURL=tilt-effect.d.ts.map