@revrag-ai/embed-react-native
Version:
A powerful React Native library for integrating AI-powered voice agents into mobile applications. Features real-time voice communication, intelligent speech processing, customizable UI components, and comprehensive event handling for building conversation
38 lines • 1.44 kB
TypeScript
/**
* @file EmbedButton.animations.ts
* @description Animation logic and hooks for the EmbedButton component
*/
declare const Animated: any;
export { Animated };
/**
* Hook to initialize and manage all animation shared values
*/
export declare const useAnimationValues: () => {
isPressed: any;
offset: any;
start: any;
menuAnimation: any;
buttonWidth: any;
buttonScale: any;
};
/**
* Hook to handle button expand/collapse animations
*/
export declare const useButtonAnimations: (isOpen: boolean, menuAnimation: any, buttonWidth: any) => void;
/**
* Hook to handle breathing animation when auto-popup is shown
*/
export declare const useBreathingAnimation: (isOpen: boolean, isAutoOpen: boolean, buttonScale: any) => void;
/**
* Hook to create animated styles for the button
*/
export declare const useButtonAnimatedStyles: (isOpen: boolean, offset: any, buttonWidth: any, isPressed: any, buttonScale: any) => any;
/**
* Hook to create animated styles for the popup text
*/
export declare const usePopupAnimatedStyles: (offset: any, isPressed: any) => any;
/**
* Create pan gesture for drag functionality
*/
export declare const createPanGesture: (isPressed: any, offset: any, start: any, isOpen: boolean, setIsAutoOpen: (value: boolean) => void) => import("react-native-gesture-handler/lib/typescript/handlers/gestures/panGesture").PanGesture;
//# sourceMappingURL=EmbedButton.animations.d.ts.map