import { OrientationOptions } from './OrientationOptions';
import { Padding } from './Padding';

/**
 * This interface encapsulates all the animation parameters.
 */
export interface AnimationOptions {
    /**
     * The animation duration in milliseconds.
     */
    readonly duration?: number;
    /**
     * The easing function for this animation. Can be one of the Penner's function as specified in animejs:
     * https://animejs.com/documentation/#pennerFunctions
     */
    readonly easing?: string;
    /**
     * When specified the positions will all appear within the padded view.
     *
     * Default is a padding of 0 on all sides.
     */
    readonly padding?: Padding;
    /**
     * The final camera orientation.
     */
    readonly orientation?: OrientationOptions;
}
