// 圈选元素
declare namespace RectSelection {
  type brush = any; // 刷子对象
  type brushArea = any; // 刷子区域DOM元素
  /**
   * @function activeRectSelection
   * @description 激活圈选区域
   */
  interface activeRectSelection {
    (): void;
  }

  /**
   * @function deactivatedRectSelection
   * @description 停止圈选区域
   */
  interface deactivatedRectSelection {
    (): void;
  }

  /**
   * @function brushstarted
   * @description 开始圈选
   */
  interface brushstarted {
    (): void;
  }

  /**
   * @function brushing
   * @description 圈选中
   */
  interface brushing {
    (): void;
  }

  /**
   * @function brushended
   * @description 圈选结束
   */
  interface brushended {
    (): void;
  }

  /**
   * @function handleBrush
   * @description 圈选结果
   * @return {Object[]} 圈选结果
   */
  interface handleBrush {
    (): any[];
  }
}

export default RectSelection;
