import { IObject } from '../typings'; import PluginMixins from './PluginMixins'; interface IPos { data: number; unit: string; } interface IAngle { extent?: string; shape?: string; angle?: IPos[]; position?: IPos[]; } interface IValueChild { color?: number[]; positions: IPos[]; } interface IValue { type: string; angle?: IAngle; values: IValueChild[] | string; } export default class GradientsPlugin extends PluginMixins { value: string; static className: string; tweenVars: IObject; vars: IValue[]; computedStyle?: IObject; defaultStartVars: IValue[]; constructor(value: string); getPosition: (data: string[]) => { data: number; unit: string; }[]; getAngle: (type: string, $angle: string) => { extent: string | undefined; shape: string | undefined; angle: IPos[] | undefined; position: IPos[] | undefined; }; valueToIValue: (value?: string | undefined) => IValue[]; getAnimStart: () => any; render: (ratio: number) => string; } export {};