package com.tt.honeyDue.platform

import androidx.compose.runtime.Composable

/**
 * Types of haptic feedback available.
 */
enum class HapticFeedbackType {
    /** Light feedback - for selections, toggles */
    Light,
    /** Medium feedback - for confirmations */
    Medium,
    /** Heavy feedback - for important actions */
    Heavy,
    /** Selection changed feedback */
    Selection,
    /** Success feedback */
    Success,
    /** Warning feedback */
    Warning,
    /** Error feedback */
    Error
}

/**
 * Interface for performing haptic feedback.
 */
interface HapticFeedbackPerformer {
    fun perform(type: HapticFeedbackType)
}

/**
 * Remember a haptic feedback performer for the current platform.
 */
@Composable
expect fun rememberHapticFeedback(): HapticFeedbackPerformer
