import { type Ref } from "vue-demi"; import { PointSource, type Place, type Point } from "../types/interface"; import { type AbortSignalOption } from "../utils/helper"; export interface UseMapPlaceProps { pointRef: Ref; emptyPlaceName: string; signal?: AbortSignal; findAttachedPlaceDone?: Ref; onChange?: (value: Place) => any; } export declare const useAmapPlace: (props: UseMapPlaceProps) => { place: { lng: number; lat: number; name: string; displayName: string; pointSource?: PointSource | undefined; }; updatePlace: (value: Point) => void; setPlace: (value: Place) => void; getPlaceByRegeo: ([lng, lat]: Point, opt?: AbortSignalOption) => Promise; }; export declare const useGmapPlace: (props: UseMapPlaceProps) => { place: { lng: number; lat: number; name: string; displayName: string; pointSource?: PointSource | undefined; }; updatePlace: (value: Point) => void; setPlace: (value: Place) => void; getPlaceByRegeo: ([lng, lat]: Point, opt?: AbortSignalOption) => Promise; }; export declare const useMapPlace: (props: UseMapPlaceProps) => { place: { lng: number; lat: number; name: string; displayName: string; pointSource?: PointSource | undefined; }; updatePlace: (value: Point) => void; setPlace: (value: Place) => void; getPlaceByRegeo: ([lng, lat]: Point, opt?: AbortSignalOption) => Promise; };