import { ControlAnchor } from '../../constants'; import { Size } from '../../types'; export interface CustomControlProps { /** 停靠位置,默认由 SDK 决定(通常为左上角) */ anchor?: ControlAnchor; /** 相对停靠位置的像素偏移 */ offset?: Size; /** 控制显示/隐藏。undefined 或 true = 显示,false = 隐藏 */ visible?: boolean; /** 自定义控件内容,会被渲染到挂载在地图容器上的 DOM 节点内 */ children?: React.ReactNode; } export declare const CustomControl: import('react').NamedExoticComponent;