/** * This source code is quoted from rc-animate. * homepage: https://github.com/react-component/animate */ import { Component, Key, ReactElement } from 'react'; import { AnimateProps } from './iAnimate'; declare class Animate extends Component { private currentlyAnimatingKeys; private keysToEnter; private keysToLeave; private mounted; private nextProps; static defaultProps: AnimateProps; constructor(props: AnimateProps); componentDidMount(): void; componentWillUnmount(): void; componentWillReceiveProps(nextProps: AnimateProps): void; componentDidUpdate(): void; performEnter(key: Key): void; performAppear(key: Key): void; handleDoneAdding(key: Key, type: string): void; performLeave(key: Key): void; handleDoneLeaving(key: Key): void; isValidChildByKey(currentChildren: ReactElement[], key: Key): any; stop(key: Key): void; render(): any; } export default Animate;