import type { IAnimation } from '@antv/g'; import type { RuntimeContext } from '../runtime/types'; import type { Keyframe } from '../types'; import type { BaseShapeStyleProps } from './shapes'; import { BaseShape } from './shapes'; export declare abstract class BaseElement extends BaseShape { protected get context(): RuntimeContext; protected get parsedAttributes(): Required; /** * 动画帧执行函数 * * Animation frame execution function */ protected onframe(): void; animate(keyframes: Keyframe[], options?: number | KeyframeAnimationOptions | undefined): IAnimation | null; }