// Re-export types from layoutApi for consistency
import type { Room3D, Section3D, Position3D, Floor3DData } from '../../lib/layoutApi';

export type VisMode = 'STANDARD' | 'HEALTH' | 'YIELD' | 'TEMP' | 'HUMIDITY';

// Breadcrumb data for hierarchy navigation
export interface PlantBreadcrumb {
    facility?: string;
    building?: string;
    floor?: string;
    room?: string;
    section?: string;
    tier?: number;
}

// Re-export API types under cleaner names
export type RoomData = Room3D;
export type SectionData = Section3D;
export type PlantPosition = Position3D & {
    x: number;
    y: number;
    z: number;
    breadcrumb?: PlantBreadcrumb;
};

export const COLORS = {
    // Standard Modes
    VEG: '#4ade80',
    FLOWER: '#a855f7',
    DRY: '#f59e0b',
    CURE: '#78716c',
    EMPTY_SLOT: '#475569',
    ROOM_FLOOR: '#334155',
    ROOM_WALL: '#475569',

    // Health Mode
    HEALTH_GOOD: '#22c55e',
    HEALTH_WARN: '#eab308',
    HEALTH_CRIT: '#ef4444',

    // Environment Heatmaps
    TEMP_LOW: '#3b82f6',
    TEMP_OPTIMAL: '#22c55e',
    TEMP_HIGH: '#ef4444',
    HUMIDITY_DRY: '#f59e0b',
    HUMIDITY_OPTIMAL: '#0ea5e9',
    HUMIDITY_WET: '#3b82f6',
} as const;
