type NotificationType = "success" | "warning" | "error"; type ImpactStyle = "light" | "medium" | "heavy"; interface HapticFeedbackParams { hapticsType: "impact" | "notification" | "selectionChanged"; style?: ImpactStyle | NotificationType; } declare const haptics: { notification: (type: NotificationType) => void; selection: () => void; impact: (type: ImpactStyle) => void; }; /** * Wraps a function with haptic feedback * @param fn The function to wrap (can be undefined) * @param hapticFn The haptic feedback function to call (defaults to selection) * @returns A new function that triggers haptic feedback and calls the original function if provided */ export declare function withHaptics any>(fn: T | undefined, hapticFn?: () => void): T; export default haptics; export type { NotificationType, ImpactStyle, HapticFeedbackParams };