/** * Vibration pattern type */ export type VibrationPattern = number | number[]; /** * Vibration state */ export type VibrationState = { isSupported: boolean; isVibrating: boolean; }; type UseVibrateReturn = VibrationState & { vibrate: (pattern: VibrationPattern) => boolean; stop: () => void; }; /** * Hook that provide physical feedback using the Vibration API * * @returns Vibration state and control functions * * @example * ```tsx * const { supported, vibrate } = useVibrate(); * * return ( *
* {supported ? ( * * ) : ( *

Vibration not supported

* )} *
* ); * ``` */ export declare function useVibrate(): UseVibrateReturn; export {}; //# sourceMappingURL=useVibrate.d.ts.map