// Pixie Intelligence Engine — public barrel export
export type {
  AnalysisStatus,
  InterventionRecord,
  CandidateLearning,
  PhotoIntelligenceType,
  PhotoIntelligenceResult,
  PlantIntelligenceProfile,
  InvestigationContextPacket,
  PhotoAnalysisInput,
  RecoveredPhotoAnalysis,
} from './types';

export type { PlantMemoryContext } from './memoryContext';
export type { GraduationReadiness } from './graduationService';

export {
  createIntelligenceId,
  loadIntelligenceProfile,
  loadIntelligenceProfiles,
  saveIntelligenceProfile,
  createEmptyIntelligenceProfile,
  getOrCreateIntelligenceProfile,
  updateIntelligenceSummary,
  addIntervention,
  addCandidateLearning,
  addPhotoIntelligence,
  buildInvestigationContextPacket,
  deleteIntelligenceProfile,
} from './plantIntelligenceService';

export {
  buildPlantMemoryContext,
  renderMemoryContextBlock,
  renderOpenCaseContext,
} from './memoryContext';

export {
  isCuttingProfile,
  evaluateCuttingReadiness,
  graduateCuttingProfile,
  isSeedProfile,
  isTreeSeed,
  evaluateSeedReadiness,
  graduateSeedProfile,
} from './graduationService';

export {
  analyzePhoto,
  analyzeAndStorePhoto,
  retryPhotoAnalysis,
  recoverStuckAnalyses,
  acquireScanPriority,
  releaseScanPriority,
  isScanPriorityActive,
} from './photoIntelligenceExtractor';
