import { FloorMapMergedItem } from "../types.js";

//#region src/components/pisellFloorMapLayout/utils/floorMapSelectionZone.d.ts
interface SelectionZoneRect {
  left: number;
  top: number;
  width: number;
  height: number;
}
/** 该图元是否为选区 */
declare function isSelectionZoneItem(item: {
  elementKind?: string;
}): boolean;
/**
 * 计算选区成员 id 列表（输入为像素矩形坐标系）。
 *
 * @param zoneId      选区自身 id（排除自身）
 * @param zoneRect    选区矩形（像素）
 * @param itemRects   画布上全部图元及其像素矩形
 */
declare function computeSelectionZoneMemberIds(zoneId: string, zoneRect: SelectionZoneRect, itemRects: Array<{
  item: FloorMapMergedItem;
  rect: SelectionZoneRect;
}>): string[];
//#endregion
export { SelectionZoneRect, computeSelectionZoneMemberIds, isSelectionZoneItem };