export type TiltAxisLock = 'x' | 'y' | 'none'; export interface ComputeTiltOptions { maxTiltX: number; maxTiltY: number; easing: (t: number) => number; lockAxis: TiltAxisLock; } export interface TiltResult { rotateX: number; rotateY: number; } /** * Eases faster near the edges (|t| close to 1) and flatter near the center (|t| close to 0), * while staying odd-symmetric so tilt direction always matches cursor direction. */ export declare function defaultTiltEasing(t: number): number; /** * Computes the tilt rotation for a pointer at (x, y) relative to `rect`'s top-left corner. * Vertical cursor position drives rotateX (tilts top/bottom edges), horizontal drives rotateY. */ export declare function computeTilt(x: number, y: number, rect: { width: number; height: number; }, { maxTiltX, maxTiltY, easing, lockAxis }: ComputeTiltOptions): TiltResult;