import type { FloorMapMergedItem } from '../types'; export interface SelectionZoneRect { left: number; top: number; width: number; height: number; } /** 该图元是否为选区 */ export declare function isSelectionZoneItem(item: { elementKind?: string; }): boolean; /** zoneRect 是否「完全包含」itemRect(含边界,允许 1px 容差以抵消取整误差) */ export declare function rectFullyContains(zoneRect: SelectionZoneRect, itemRect: SelectionZoneRect, tolerance?: number): boolean; /** * 计算选区成员 id 列表(输入为像素矩形坐标系)。 * * @param zoneId 选区自身 id(排除自身) * @param zoneRect 选区矩形(像素) * @param itemRects 画布上全部图元及其像素矩形 */ export declare function computeSelectionZoneMemberIds(zoneId: string, zoneRect: SelectionZoneRect, itemRects: Array<{ item: FloorMapMergedItem; rect: SelectionZoneRect; }>): string[];