/** user-defined commands **/ export declare const commands: { vibrate(duration: number): Promise>; impactFeedback(style: ImpactFeedbackStyle): Promise>; notificationFeedback(type: NotificationFeedbackType): Promise>; selectionFeedback(): Promise>; }; /** user-defined events **/ /** user-defined statics **/ /** user-defined types **/ export type Error = never; export type ImpactFeedbackStyle = 'light' | 'medium' | 'heavy' | 'soft' | 'rigid'; export type NotificationFeedbackType = 'success' | 'warning' | 'error'; export type Result = { status: 'ok'; data: T; } | { status: 'error'; error: E; };