import * as react from 'react'; import { ReactNode, ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { InternalProps, StyledComponentProps, OmitInternalProps } from '../../shared/src/types.js'; import '../../styling/src/styled-system/props-handler.js'; import 'csstype'; import '../../styling/src/useResponsiveValue.js'; import '../../styling/src/BreakpointProvider.js'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; declare const DefaultElement = "div"; interface InnerTransitionProps extends InternalProps, StyledComponentProps { /** * Whether the transition should run on initial mount. */ animateFirstRender?: boolean; /** * React children. */ children: ReactNode; /** * CSS classes to add to the transitioning element during the enter phase. */ enter?: string; /** * CSS classes to add to the transitioning element during the leave phase. */ leave?: string; /** * A controlled show value that determined whether or not the component is displayed. */ show: boolean; } declare function InnerTransition({ animateFirstRender, as, children, enter, forwardedRef, leave, show, ...rest }: InnerTransitionProps): react_jsx_runtime.JSX.Element; declare namespace InnerTransition { var defaultElement: string; } /** * A transition component allow enter/leave CSS transitions for React elements. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/transition--page) */ declare const Transition: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type TransitionProps = ComponentProps; export { InnerTransition, type InnerTransitionProps, Transition, type TransitionProps };