/** * Internal dependencies */ import type { BezierType } from '../constants'; import type { PanBackgroundEffect } from '../parts/effects/backgroundPan'; import type { PanAndZoomBackgroundEffect } from '../parts/effects/backgroundPanAndZoom'; import type { ZoomBackgroundEffect } from '../parts/effects/backgroundZoom'; import type { DropEffect } from '../parts/effects/drop'; import type { FadeInEffect } from '../parts/effects/fadeIn'; import type { FlyInEffect } from '../parts/effects/flyIn'; import type { PanEffect } from '../parts/effects/pan'; import type { PulseEffect } from '../parts/effects/pulse'; import type { RotateInEffect } from '../parts/effects/rotateIn'; import type { TwirlInEffect } from '../parts/effects/twirlIn'; import type { WhooshInEffect } from '../parts/effects/whooshIn'; import type { ZoomEffect } from '../parts/effects/zoom'; import type { BlinkOnAnimation } from '../parts/simple/blinkOn'; import type { BounceAnimation } from '../parts/simple/bounce'; import type { FadeAnimation } from '../parts/simple/fade'; import type { FlipAnimation } from '../parts/simple/flip'; import type { FloatOnAnimation } from '../parts/simple/floatOn'; import type { MoveAnimation } from '../parts/simple/move'; import type { PulseAnimation } from '../parts/simple/pulse'; import type { SpinAnimation } from '../parts/simple/spin'; import type { ZoomAnimation } from '../parts/simple/zoom'; import type { ElementId } from './element'; export declare enum AnimationType { BlinkOn = "blinkOn", Bounce = "bounce", Fade = "fade", Flip = "flip", FloatOn = "floatOn", Move = "move", Pulse = "pulse", Spin = "spin", Zoom = "zoom", EffectDrop = "effect-drop", EffectFadeIn = "effect-fade-in", EffectFlyIn = "effect-fly-in", EffectPan = "effect-pan", EffectPulse = "effect-pulse", EffectRotateIn = "effect-rotate-in", EffectTwirlIn = "effect-twirl-in", EffectWhooshIn = "effect-whoosh-in", EffectZoom = "effect-zoom", EffectBackgroundPan = "effect-background-pan", EffectBackgroundPanAndZoom = "effect-background-pan-and-zoom", EffectBackgroundZoom = "effect-background-zoom" } declare const NonBackgroundAnimationType: { BlinkOn: AnimationType.BlinkOn; Bounce: AnimationType.Bounce; Fade: AnimationType.Fade; Flip: AnimationType.Flip; FloatOn: AnimationType.FloatOn; Move: AnimationType.Move; Pulse: AnimationType.Pulse; Spin: AnimationType.Spin; Zoom: AnimationType.Zoom; EffectDrop: AnimationType.EffectDrop; EffectFadeIn: AnimationType.EffectFadeIn; EffectFlyIn: AnimationType.EffectFlyIn; EffectPan: AnimationType.EffectPan; EffectPulse: AnimationType.EffectPulse; EffectRotateIn: AnimationType.EffectRotateIn; EffectTwirlIn: AnimationType.EffectTwirlIn; EffectWhooshIn: AnimationType.EffectWhooshIn; EffectZoom: AnimationType.EffectZoom; }; export { NonBackgroundAnimationType }; export type ZoomDirection = 'dynamicPropertyValue' | 'scaleIn' | 'scaleInBottomRight' | 'scaleInTopLeft' | 'scaleOut' | 'scaleOutTopRight' | 'scaleOutBottomLeft'; export declare enum AnimationDirection { LeftToRight = "leftToRight", TopToBottom = "topToBottom", RightToLeft = "rightToLeft", BottomToTop = "bottomToTop" } export type AnimationInput = PanAndZoomBackgroundEffect | PanBackgroundEffect | ZoomBackgroundEffect | DropEffect | FadeInEffect | FlyInEffect | PanEffect | PulseEffect | RotateInEffect | TwirlInEffect | WhooshInEffect | ZoomEffect | BlinkOnAnimation | BounceAnimation | FadeAnimation | FlipAnimation | FloatOnAnimation | MoveAnimation | PulseAnimation | SpinAnimation | ZoomAnimation; export type AnimationInputWithPreset = AnimationInput & { easingPreset?: BezierType; }; export type StoryAnimation = AnimationInputWithPreset & { id: string; targets: ElementId[]; }; //# sourceMappingURL=animation.d.ts.map