import { Boundary } from '../../../LczChina2dMap/type'; import { ToGround } from '../../../LczChina2dMap/type/child'; interface ToGroundProps { options: ToGround; coord: any[]; } export declare class toground { op: ToGroundProps; toGroundOp: ToGround; enabled: boolean; addCircleTime: number; times: number; data: any[]; constructor(op: ToGroundProps); reset(): void; draw(ctx: CanvasRenderingContext2D, now: number): void; addCircle(): void; calculate(start: any, total: any): { start: number; end: number; }; isAnimateEnd(): boolean; } interface DrawLineProps { points: any[]; distance: number; startColor: string; endColor: string; ratio: number; width: number; backgroundLineWidth: number; step: number; speed: number; start: number; ctx: { base: any; line: any; }; bang: toground; backgroundLine: Boundary; pointIndex: number; } export declare class DrawLine { state: string; points: any[]; pointLength: number; unitStep: number; startColor: string; endColor: string; ratio: number; lineWidth: number; ctx: { base: any; line: any; }; curveLength: number; totalLength: number; pointIndex: number; bang: toground; backgroundLine: Boundary; backgroundLineWidth: number; destroy: () => void; updata: (now: number, pre: number) => void; constructor(options: DrawLineProps); } export declare const drawLine: (target: CanvasRenderingContext2D, points: any[]) => void; export {};