export type PlantReferenceSource = 'Wikipedia';

export type PlantReferenceLookupInput = {
  scientificName?: string;
  commonName?: string;
  displayName?: string;
};

export type PlantReferenceResult = {
  title: string;
  url: string;
  description?: string;
  source: PlantReferenceSource;
};

export type PlantReferenceProvider = {
  lookupPlantReference(input: PlantReferenceLookupInput): Promise<PlantReferenceResult | null>;
};
