import { Pixi } from '../../alias/Pixi'; import { Point2D } from '../entity/Point2D.entity'; import { CurveType, PropAnimator } from './PropAnimator'; declare type AnimationDefBase = { sprite: T; duration: number; curveType?: CurveType; }; export declare type SpriteAnimationDefBase = AnimationDefBase; export declare type SpritePlusAnimationDefBase = AnimationDefBase; export declare class Animations { private propAnimator; private worldGroup; constructor(propAnimator: PropAnimator); playEffect(textures: Pixi.Texture[], pos: Point2D, duration: number, size?: Point2D): Promise; fadeOut({ sprite, duration, curveType, }: SpriteAnimationDefBase): Promise; rotate({ sprite, duration, curveType, angleDeg, }: SpriteAnimationDefBase & { angleDeg?: number; }): Promise; size({ sprite, duration, curveType, newSize, }: SpriteAnimationDefBase & { newSize: Point2D; }): Promise; move({ sprite, duration, curveType, move, }: SpriteAnimationDefBase & { move: Point2D; }): Promise; spriteQueue({ sprite, duration, curveType, }: SpriteAnimationDefBase): Promise; } export {};