/** * Created by jljsj on 20/12/2. * The algorithm from GSAP(utils/paths.js) VERSION: 3.0.x */ import { IObject } from '@/typings'; declare type IValue = { x: number; y: number; [key: string]: any; } | IObject; export declare const pointsToSegment: (points: any[], curviness: number) => number[]; export declare const populateSegmentFromArray: (segment: any[], values: IValue[], property: string, mode: number) => any[]; export declare const arrayToRawPath: (values: IValue[], vars: { curviness: number; relative?: boolean; type: 'cubic' | 'thru' | 'soft'; x: string; y: string; }) => any[][]; export declare const rawPathToString: (rawPath: any[]) => string; export {};