/**
 * Flowtype definitions for transition-manager
 * Generated by Flowgen from a Typescript Definition
 * Flowgen v1.21.0
 */

import { TransitionInterpolator } from "./transition";
import type { MapStateProps } from "./map-state";
export type ViewportProps = {
  ...MapStateProps,
  ...{
    onTransitionStart: Function,
    onTransitionInterrupt: Function,
    onTransitionEnd: Function,
    onViewportChange?: Function,
    onStateChange?: Function,
    ...
  },
};
declare type TransitionState = {
  propsInTransition: any,
  interactionState: any,
  startProps: MapStateProps,
  endProps: MapStateProps,
  duration: number,
  easing: (t: number) => number,
  interpolator: TransitionInterpolator,
  interruption: number,
  startTime: number,
  ...
};
declare export default class TransitionManager {
  static defaultProps: ViewportProps;
  constructor(props?: ViewportProps, getTime?: Function): this;
  getViewportInTransition(): ViewportProps;
  processViewportChange(nextProps: ViewportProps): boolean;
}
declare export var TRANSITION_EVENTS: any;
