import type { SoundOptions, HapticFeedbackOptions } from './types'; /** * Default sound IDs for common UI interactions * Apps can override these by providing different IDs to the hooks */ export declare const DEFAULT_SOUND_IDS: { BUTTON_PRESS: string; BUTTON_HOVER: string; NAVIGATION_FORWARD: string; NAVIGATION_BACK: string; SUCCESS: string; ERROR: string; WARNING: string; INPUT_FOCUS: string; INPUT_TYPE: string; NOTIFICATION: string; MESSAGE_RECEIVED: string; MODAL_OPEN: string; MODAL_CLOSE: string; SELECT: string; DESELECT: string; LOADING_START: string; LOADING_COMPLETE: string; }; /** * Hook for button interaction sounds and haptics */ export declare const useButtonFeedback: (soundIds?: { press?: string; hover?: string; }) => { onPress: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; playSound?: boolean; playHaptic?: boolean; }) => Promise; onHover: (options?: SoundOptions) => Promise; }; /** * Hook for form input feedback */ export declare const useInputFeedback: (soundIds?: { focus?: string; type?: string; error?: string; success?: string; }) => { onFocus: (options?: SoundOptions) => Promise; onType: (options?: SoundOptions) => Promise; onValidationError: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; onValidationSuccess: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; }; /** * Hook for navigation feedback */ export declare const useNavigationFeedback: (soundIds?: { forward?: string; back?: string; }) => { onNavigateForward: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; onNavigateBack: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; }; /** * Hook for modal/dialog feedback */ export declare const useModalFeedback: (soundIds?: { open?: string; close?: string; }) => { onOpen: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; onClose: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; }; /** * Hook for selection feedback */ export declare const useSelectionFeedback: (soundIds?: { select?: string; deselect?: string; }) => { onSelect: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; onDeselect: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; }; /** * Hook for loading state feedback */ export declare const useLoadingFeedback: (soundIds?: { start?: string; complete?: string; }) => { onStart: (options?: SoundOptions) => Promise; onComplete: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; }; /** * Hook for notification feedback */ export declare const useNotificationFeedback: (soundIds?: { notification?: string; success?: string; warning?: string; error?: string; messageReceived?: string; }) => { onNotification: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; type?: "info" | "success" | "warning" | "error"; }) => Promise; onMessageReceived: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; }; /** * Combined hook for all UI feedback types */ export declare const useUIFeedback: () => { button: { onPress: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; playSound?: boolean; playHaptic?: boolean; }) => Promise; onHover: (options?: SoundOptions) => Promise; }; input: { onFocus: (options?: SoundOptions) => Promise; onType: (options?: SoundOptions) => Promise; onValidationError: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; onValidationSuccess: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; }; navigation: { onNavigateForward: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; onNavigateBack: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; }; modal: { onOpen: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; onClose: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; }; selection: { onSelect: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; onDeselect: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; }; loading: { onStart: (options?: SoundOptions) => Promise; onComplete: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; }; notification: { onNotification: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; type?: "info" | "success" | "warning" | "error"; }) => Promise; onMessageReceived: (options?: { sound?: SoundOptions; haptic?: HapticFeedbackOptions; }) => Promise; }; };