type PestType = 'insect' | 'mite' | 'fungus' | 'bacterium' | 'virus' | 'nematode' | 'mollusk'; type DamageType = 'chupador' | 'masticador' | 'perforador' | 'sucker'; type AffectedParts = 'leaves' | 'flowers' | 'roots' | 'stems' | 'general'; type Severity = 'low' | 'medium' | 'high'; type ControlMethodType = string; interface IControlMethod { type: ControlMethodType; description: string; } interface IRegionAffected { region: string; description: string; } interface IAssociatedDisease { name: string; description: string; } interface IReference { author: string; title: string; url: string; } interface IIndicators { _id?: string; common_name: string; scientific_name: string; description?: string; type: PestType; damage_type: DamageType; affected_parts: AffectedParts; symptoms?: string; life_cycle?: string; favorable_conditions?: string; control_methods?: IControlMethod[]; regions_affected?: IRegionAffected[]; severity?: Severity; resistance_to_control?: boolean; economic_impact?: number; transmission_vectors?: string; associated_diseases?: IAssociatedDisease[]; references?: IReference[]; affected_crops?: string[]; last_update_date?: string; updated_by?: string; category_id: string; } interface IIndicatorCategory { _id: string; name: string; description?: string; active?: boolean; } interface IOption { value: string; label: string; } interface IControlMethodOption { type: string; description: string; } export type { AffectedParts as A, ControlMethodType as C, DamageType as D, IAssociatedDisease as I, PestType as P, Severity as S, IControlMethod as a, IControlMethodOption as b, IIndicatorCategory as c, IIndicators as d, IOption as e, IReference as f, IRegionAffected as g };