import type { Control } from '@antv/l7'; export interface IControlCallback { onAdd?: (control: C) => void; onRemove?: (control: C) => void; onShow?: (control: C) => void; onHide?: (control: C) => void; } export interface IPopperControlCallback extends IControlCallback { onPopperShow?: (control: C) => void; onPopperHide?: (control: C) => void; }