/** * Haptics Domain - Core Entities * * This file defines core types and interfaces for haptic feedback. * Handles vibration patterns and feedback types using expo-haptics. * * @domain haptics * @layer domain/entities */ /** * Impact feedback style (compatible with expo-haptics) */ export type ImpactStyle = 'Light' | 'Medium' | 'Heavy' | 'Rigid' | 'Soft'; /** * Notification feedback type (compatible with expo-haptics) */ export type NotificationType = 'Success' | 'Warning' | 'Error'; /** * Haptic patterns for common interactions */ export type HapticPattern = 'success' | 'warning' | 'error' | 'selection'; /** * Haptic constants */ export declare const HAPTIC_CONSTANTS: { readonly DEFAULT_IMPACT: ImpactStyle; readonly BUTTON_IMPACT: ImpactStyle; readonly DELETE_IMPACT: ImpactStyle; readonly ERROR_IMPACT: ImpactStyle; }; /** * Type guards for runtime type safety */ /** * Check if value is a valid ImpactStyle */ export declare function isImpactStyle(value: unknown): value is ImpactStyle; /** * Check if value is a valid NotificationType */ export declare function isNotificationType(value: unknown): value is NotificationType; /** * Check if value is a valid HapticPattern */ export declare function isHapticPattern(value: unknown): value is HapticPattern;