import React from "react"; import { Variants } from "motion/react"; export interface AnimatedIconProps { /** * Icon type for built-in icons or SVG paths */ icon?: "loading" | "heart" | "star" | "hamburger" | "arrow" | "check" | "x" | "custom"; /** * Custom SVG path or paths for morphing */ paths?: string | string[]; /** * Animation type */ animation?: "spin" | "pulse" | "bounce" | "morph" | "draw" | "hover" | "click"; /** * Icon size */ size?: number | string; /** * Icon color */ color?: string; /** * Animation duration in milliseconds */ duration?: number; /** * Whether to animate automatically */ autoAnimate?: boolean; /** * Whether animation should repeat */ repeat?: boolean; /** * Custom CSS class */ className?: string; /** * Custom styling */ style?: React.CSSProperties; /** * Callback when animation completes */ onAnimationComplete?: () => void; /** * Callback when icon is clicked */ onClick?: () => void; /** * Whether icon is interactive */ interactive?: boolean; /** * Hover animation type */ hoverAnimation?: "scale" | "rotate" | "glow" | "shake"; /** * Click animation type */ clickAnimation?: "scale" | "rotate" | "ripple"; /** * Custom variants for complex animations */ customVariants?: Variants; /** * SVG viewBox */ viewBox?: string; /** * Stroke width for SVG paths */ strokeWidth?: number; /** * Whether to show loading state */ loading?: boolean; /** * Progress value for progress-based animations (0-1) */ progress?: number; } /** * Animated icon component with multiple animation types */ export declare function AnimatedIcon({ icon, paths, animation, size, color, duration, autoAnimate, repeat, className, style, onAnimationComplete, onClick, interactive, hoverAnimation, clickAnimation, customVariants, viewBox, strokeWidth, loading, progress, }: AnimatedIconProps): React.JSX.Element; /** * Preset animated icon variations */ export declare const AnimatedIconPresets: { /** * Spinning loading indicator */ Spinner: (props: Omit) => React.JSX.Element; /** * Pulsing heart */ HeartBeat: (props: Omit) => React.JSX.Element; /** * Morphing hamburger to X */ MenuToggle: (props: Omit) => React.JSX.Element; /** * Drawing checkmark */ CheckDraw: (props: Omit) => React.JSX.Element; /** * Bouncing star */ BounceStar: (props: Omit) => React.JSX.Element; /** * Interactive arrow */ HoverArrow: (props: Omit) => React.JSX.Element; }; export default AnimatedIcon; //# sourceMappingURL=animated-icon.d.ts.map