import * as react from 'react'; import { CSSProperties, ReactNode } from 'react'; interface PresenceFrom { opacity?: number; translateX?: number; translateY?: number; scale?: number; } interface PresenceProps { /** Logical mounted state. Children stay in the DOM while exiting. */ present: boolean; /** Hidden pose the content enters from and exits to. Default `{ opacity: 0, translateY: 8 }`. */ from?: PresenceFrom; /** Override duration (ms) for both enter and exit. Defaults to the motion tokens. */ duration?: number; /** Override easing (CSS string) for both enter and exit. */ easing?: string; /** Fires after the exit animation finishes and children unmount. */ onExitComplete?: () => void; className?: string; style?: CSSProperties; children?: ReactNode; } declare function Presence({ present, from, duration, easing, onExitComplete, className, style, children, }: PresenceProps): react.JSX.Element | null; export { Presence, type PresenceFrom, type PresenceProps };