import { type ClearWathPosition } from "./compatibleWatchPosition"; /** * @note navigator.geolocation.watchPosition 期间,再调用 watchPosition 或 getCurrentPosition 会导致定位失败。 */ export declare class SingleGeoWatch { id: number; listeners: Map; option: PositionOptions; unwatch: ClearWathPosition | undefined; constructor(option?: PositionOptions); watchPosition(onSuccess: PositionCallback, onError?: PositionErrorCallback): number; clearWatch(id: number): void; start(): Promise; }