import * as React from 'react'; type TransitionChild = React.ReactElement | false | void; type TransitionChildren = TransitionChild | Array>; export type Props = { children: TransitionChildren; flipMove?: boolean; preEnterPose?: string; enterPose?: string; exitPose?: string; animateOnMount?: boolean; enterAfterExit?: boolean; onRest?: () => void; [key: string]: any; }; export type State = { displayedChildren: Array>; finishedLeaving: { [key: string]: boolean }; hasInitialized: boolean; indexedChildren: { [key: string]: React.ReactElement }; scheduleChildRemoval: (key: string) => void; };