import type { TColorArg } from '../../color/typedefs'; import type { ObjectEvents } from '../../EventTypeDefs'; import type { TAnimation } from '../../util/animation/animate'; import type { AnimationOptions } from '../../util/animation/types'; import { StackedObject } from './StackedObject'; export declare abstract class AnimatableObject extends StackedObject { /** * List of properties to consider for animating colors. * @type String[] */ static colorProperties: string[]; /** * Animates object's properties * @param {Record} animatable map of keys and end values * @param {Partial>} options * @tutorial {@link http://fabricjs.com/fabric-intro-part-2#animation} * @return {Record>} map of animation contexts * * As object — multiple properties * * object.animate({ left: ..., top: ... }); * object.animate({ left: ..., top: ... }, { duration: ... }); */ animate(animatable: Record, options?: Partial>): Record>; /** * @private * @param {String} key Property to animate * @param {String} to Value to animate to * @param {Object} [options] Options object */ _animate(key: string, endValue: T, options?: Partial>): TAnimation; } //# sourceMappingURL=AnimatableObject.d.ts.map