import { CSSProperties, ReactNode } from 'react'; import { HtmlProps } from '../types/slots.types.js'; export interface TiltGroupContextValue { /** Last known pointer position, in coordinates relative to the group container's top-left corner. `null` once the pointer has left. */ pointer: { x: number; y: number; } | null; /** The group container's bounding rect, refreshed on pointer enter/move. */ rect: DOMRect | null; } export interface TiltGroupProps extends HtmlProps { children?: ReactNode; className?: string; style?: CSSProperties; }