import React from "react"; import { Variants } from "motion/react"; export interface RevealAnimationProps { /** * Children to animate */ children: React.ReactNode; /** * Animation direction */ direction?: "up" | "down" | "left" | "right" | "fade" | "scale" | "rotate"; /** * Animation duration in milliseconds */ duration?: number; /** * Delay before animation starts in milliseconds */ delay?: number; /** * Distance for directional animations */ distance?: number; /** * Whether to stagger children animations */ staggerChildren?: boolean; /** * Stagger delay between children in milliseconds */ staggerDelay?: number; /** * Intersection threshold (0-1) */ threshold?: number; /** * Root margin for intersection observer */ rootMargin?: string; /** * Whether animation should trigger once or every time */ triggerOnce?: boolean; /** * Custom CSS class */ className?: string; /** * Custom styling */ style?: React.CSSProperties; /** * Callback when animation starts */ onAnimationStart?: () => void; /** * Callback when animation completes */ onAnimationComplete?: () => void; /** * Custom variants for complex animations */ customVariants?: Variants; /** * Whether to use viewport detection or custom trigger */ useViewport?: boolean; /** * Manual trigger (when useViewport is false) */ trigger?: boolean; /** * Easing function */ easing?: "linear" | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut"; /** * Whether to animate on scroll */ animateOnScroll?: boolean; /** * Scroll animation progress (0-1) */ scrollProgress?: number; } /** * Reveal animation component with scroll and intersection triggers */ export declare function RevealAnimation({ children, direction, duration, delay, distance, staggerChildren, staggerDelay, threshold, rootMargin, triggerOnce, className, style, onAnimationStart, onAnimationComplete, customVariants, useViewport, trigger, easing, animateOnScroll, scrollProgress, }: RevealAnimationProps): React.JSX.Element; /** * Multiple reveal animations for complex layouts */ export declare function RevealGroup({ children, staggerDelay, ...props }: { children: React.ReactNode; staggerDelay?: number; } & Omit): React.JSX.Element; /** * Scroll-triggered reveal with progress */ export declare function ScrollReveal({ children, startOffset, endOffset, ...props }: { children: React.ReactNode; startOffset?: number; endOffset?: number; } & Omit): React.JSX.Element; /** * Preset reveal animation variations */ export declare const RevealPresets: { /** * Gentle fade up */ FadeUp: (props: Omit) => React.JSX.Element; /** * Bouncy scale */ BounceScale: (props: Omit) => React.JSX.Element; /** * Staggered list reveal */ StaggerList: (props: Omit) => React.JSX.Element; /** * Slide from left */ SlideLeft: (props: Omit) => React.JSX.Element; /** * Rotate reveal */ RotateReveal: (props: Omit) => React.JSX.Element; /** * Progressive scroll reveal */ ScrollProgressive: (props: Omit) => React.JSX.Element; }; export default RevealAnimation; //# sourceMappingURL=reveal-animation.d.ts.map