import type { CSSProperties, ReactNode } from 'react'; import type { FloorMapViewConfig, PutShopFloorPlanBody } from '@pisell/materials'; import type { TopologyDeviceRow } from './TopologyDeviceCard'; export interface PisellTopologyProps { className?: string; style?: CSSProperties; floorMapConfig?: FloorMapViewConfig; devices?: TopologyDeviceRow[]; mode?: 'read' | 'edit'; floorPlanId?: number | null; floorPlanCode?: string; floorPlanCanvasWidth?: number; floorPlanCanvasHeight?: number; floorPlanName?: Record; floorPlanSort?: number; floorPlanStatus?: number; putFloorPlan?: (id: number, body: PutShopFloorPlanBody) => Promise; onFloorPlanPersisted?: () => void; onSave?: (config: FloorMapViewConfig) => void; overviewHud?: ReactNode | false; }