import type { MessageResponse } from '../types.js'; /** * Device vibration plugin. * * @remarks * Provides haptic feedback control for the device. * * @example * ```ts * import { Vibration } from '@yandeu/js-bridge/lib/plugins/vibration.js' * * Vibration.vibrate(100) * ``` */ export declare const Vibration: { /** * Vibrate the device for a specific duration and amplitude. * @param duration - Vibration duration in milliseconds (default: 500ms) * @param amplitude - Vibration strength 1-255, or -1 for device default * @returns Response indicating success or failure */ vibrate(duration?: number, amplitude?: number): MessageResponse<{}>; /** * Vibrate the device with a custom pattern * @param pattern Pulse durations (ms) in `[wait, vibrate, wait, vibrate, ...]` format. * @param intensities Optional vibration strengths (0-255). If provided, must be the same length as the pattern array. * @returns A promise that resolves when the vibration command is sent. */ vibrateWithPattern(pattern: Array, intensities?: Array): Promise>; hasVibrator(): Promise; hasAmplitudeControl(): Promise; hasCustomVibrationsSupport(): Promise; }; //# sourceMappingURL=vibration.d.ts.map