type PopupVisibleChangeContext = 'close-btn' | 'overlay'

declare namespace TDesignMiniprogram.Popup {
  interface VisibleChangeEvent {
    detail: { visible: boolean; trigger: PopupVisibleChangeContext; }
  }
}