import * as React from 'react'; export interface Style { [key: string]: string | number | undefined; } export interface Props { duration: number; from: Style; to: Style; onFinish: () => void; start?: boolean; } export interface State { state: 'from' | 'to'; } export default class SimpleTween extends React.Component { started: boolean; static defaultProps: { start: boolean; }; state: State; componentDidMount(): void; componentDidUpdate(): void; start: () => void; render(): JSX.Element; }