import React from 'react'; import { MapProps } from '@pansy/react-amap/es/map'; import { MarkerProps } from '@pansy/react-amap/es/marker'; import { LngLatArray } from '../../map/types'; import './style'; export declare type PositionValue = { lnglat?: LngLatArray; location?: string; }; export interface PositionProps extends MapProps { /** 额外的样式类 */ className?: string; /** 额外的样式 */ style?: React.CSSProperties; /** * 禁用内部自适应视图 * @default false * */ disabledFitView?: boolean; /** 设备的位置 */ value?: PositionValue; /** 是否只读状态 */ isReadOnly?: boolean; /** 自定义图标 */ icon?: React.ReactNode; /** 自定义Marker,完全透传 */ marker?: MarkerProps; /** 设备位置改变回调 */ onChange?: (value: PositionValue) => void; } export declare const Position: React.FC;