import { EAnimationType } from "../../../../types/AnimationType"; import type { SCRTDoubleVector, TSciChart } from "../../../../types/TSciChart"; import type { IBaseAnimationOptions } from "./SeriesAnimation"; import { SeriesAnimation } from "./SeriesAnimation"; export interface IScaleAnimationOptions extends IBaseAnimationOptions { /** * The line from which the animation evolves */ zeroLine?: number; } export declare class ScaleAnimation extends SeriesAnimation { /** @inheritDoc */ readonly type = EAnimationType.Scale; /** * The line from which the animation evolves */ zeroLine: number; constructor(options?: IScaleAnimationOptions); /** @inheritDoc */ calculateAnimationValues(wasmContext: TSciChart, originalValues: SCRTDoubleVector, animationValues: SCRTDoubleVector, progress: number, noZeroLine?: boolean): void; toJSON(): { type: EAnimationType; options: Required>; }; } /** Registers {@link ScaleAnimation} for `EAnimationType.Scale` definitions. */ export declare function registerScaleAnimation(overWrite?: boolean): void;