import type { Canvas } from '../../canvas/Canvas'; import type { AnimationBase } from './AnimationBase'; /** * Array holding all running animations */ declare class AnimationRegistry extends Array { /** * Remove a single animation using an animation context * @param {AnimationBase} context */ remove(context: AnimationBase): void; /** * Cancel all running animations on the next frame */ cancelAll(): AnimationBase[]; /** * Cancel all running animations attached to a Canvas on the next frame * @param {Canvas} canvas */ cancelByCanvas(canvas: Canvas): AnimationBase[]; /** * Cancel all running animations for target on the next frame * @param target */ cancelByTarget(target: AnimationBase['target']): AnimationBase[]; } export declare const runningAnimations: AnimationRegistry; export {}; //# sourceMappingURL=AnimationRegistry.d.ts.map