import React from 'react'; import Transition, { TransitionProps, TransitionStatus } from 'react-transition-group/Transition'; export type TransitionWrapperProps = TransitionProps & { childRef?: React.Ref; children: React.ReactElement | ((status: TransitionStatus, props: Record) => React.ReactNode); }; declare const TransitionWrapper: React.ForwardRefExoticComponent<(Omit & { childRef?: React.Ref | undefined; children: React.ReactElement> | ((status: TransitionStatus, props: Record) => React.ReactNode); }, "ref"> | Omit & { childRef?: React.Ref | undefined; children: React.ReactElement> | ((status: TransitionStatus, props: Record) => React.ReactNode); }, "ref">) & React.RefAttributes>>; export default TransitionWrapper;