import Path, { PathProps } from 'zrender/lib/graphic/Path.js'; import PathProxy from 'zrender/lib/core/PathProxy.js'; declare class ECPolylineShape { points: ArrayLike; smooth: number; smoothConstraint: boolean; smoothMonotone: 'x' | 'y' | 'none'; connectNulls: boolean; } interface ECPolylineProps extends PathProps { shape?: Partial; } export declare class ECPolyline extends Path { readonly type = "ec-polyline"; shape: ECPolylineShape; constructor(opts?: ECPolylineProps); getDefaultStyle(): { stroke: string; fill: string; }; getDefaultShape(): ECPolylineShape; buildPath(ctx: PathProxy, shape: ECPolylineShape): void; getPointOn(xOrY: number, dim: 'x' | 'y'): number[]; } declare class ECPolygonShape extends ECPolylineShape { stackedOnPoints: ArrayLike; stackedOnSmooth: number; } interface ECPolygonProps extends PathProps { shape?: Partial; } export declare class ECPolygon extends Path { readonly type = "ec-polygon"; shape: ECPolygonShape; constructor(opts?: ECPolygonProps); getDefaultShape(): ECPolygonShape; buildPath(ctx: PathProxy, shape: ECPolygonShape): void; } export {};