import { type MutableRefObject, type RefObject } from 'react';
export type UseVertexHandlesParams = {
    map: google.maps.Map | null;
    isActive: boolean;
    vertices: readonly google.maps.LatLng[];
    handleZIndexRef: RefObject<number>;
    onFirstHandleClick: () => void;
    syncDisposeRef: MutableRefObject<() => void>;
};
/**
 * N circular vertex markers. The first is clickable to close the ring; others swallow clicks to avoid
 * double map-handling.
 */
export declare const useVertexHandles: ({ map, isActive, vertices, handleZIndexRef, onFirstHandleClick, syncDisposeRef }: UseVertexHandlesParams) => void;
