import { Transition } from 'framer-motion';
import { default as React } from 'react';
export type RoutePreset = "fade" | "slide-right" | "slide-left" | "slide-up" | "slide-down" | "zoom" | "scale-fade" | "none";
export interface CustomRouteAnimation {
    initial: any;
    animate: any;
    exit: any;
    transition?: Transition;
}
export interface AnimatedOutletProps extends React.HTMLAttributes<HTMLDivElement> {
    /**
     * The animation preset to use, or a custom framer-motion animation configuration.
     * @default "fade"
     */
    animation?: RoutePreset | CustomRouteAnimation;
    /**
     * The AnimatePresence mode.
     * "wait" waits for the exit animation to finish before starting the enter animation.
     * "popLayout" allows overlapping animations without layout shifts (exiting component becomes absolute).
     * "sync" plays them simultaneously.
     * @default "wait"
     */
    mode?: "wait" | "popLayout" | "sync";
}
export declare const AnimatedOutlet: React.ForwardRefExoticComponent<AnimatedOutletProps & React.RefAttributes<HTMLDivElement>>;
