import * as React from 'react'; import { Events } from '../../types'; export interface MarkerOptions { [option: string]: any; } export interface PolylineOptions { path: any; [option: string]: any; } export interface PassedLineOptions { [option: string]: any; } export interface TrackHistoryProps { markerOptions: MarkerOptions; markerEvents?: Events; markerHoverLabel?: any; [option: string]: any; polylineOptions: PolylineOptions; passedLineOptions?: PassedLineOptions; speed: number; /** 是否显示label */ showTrackLabel?: boolean; trackLabelOptions?: any; timeOptions?: any; speedScale: number; isPlayBack?: boolean; /** 监听moving中的path索引,传给callback */ onMoving?: (currentIndex?: number) => {}; /** 是否支持lable可点击 */ labelCloseable?: boolean; } declare const TrackHistory: React.ForwardRefExoticComponent & React.RefAttributes>; export default TrackHistory;