import { ComponentProps, ReactNode } from "react"; import { InternalProps, OmitInternalProps, StyledComponentProps } from "../../shared"; declare const DefaultElement = "div"; export 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; } export declare function InnerTransition({ animateFirstRender, as, children, enter, forwardedRef, leave, show, ...rest }: InnerTransitionProps): JSX.Element; export declare namespace InnerTransition { var defaultElement: string; } /** * A transition component allow enter/leave CSS transitions for React elements. * * [Documentation](https://orbit.sharegate.design/?path=/docs/transition--page) */ export declare const Transition: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; export declare type TransitionProps = ComponentProps; export {};