@fleet-frontend/mower-maps
Version:
a mower maps in google maps
17 lines • 691 B
TypeScript
import { PathData, RealTimePartitionType, RobotStatus } from '../../../types';
interface PathElementProps {
mapConfig?: Record<string, any>;
pathData?: PathData;
mowPartitionData?: RealTimePartitionType | null;
}
export interface PathElementRef {
updatePathData: (pathData: PathData, mowPartitionData?: RealTimePartitionType) => void;
updatePathDataByMowingPosition: (position: {
x: number;
y: number;
vehicleState?: RobotStatus;
}) => void;
}
declare const PathElement: import("react").ForwardRefExoticComponent<PathElementProps & import("react").RefAttributes<PathElementRef>>;
export default PathElement;
//# sourceMappingURL=index.d.ts.map