UNPKG

carcinogen-list-classification

Version:

Provides data about carcinogens and their classification according to the IARC Monographs.

21 lines (18 loc) 705 B
type Carcinogen = { agent: string; group: string; volume: string; additionalInformation: string; volumePublicationYear: string; evaluationYear: string; }; type SortKey = 'agent' | 'group' | 'volume' | 'additionalInformation' | 'volumePublicationYear' | 'evaluationYear'; type SortMethod = 'asc' | 'desc'; interface CarcinogenListSearchProps { groups?: string[]; sortBy?: SortKey; sortMethod?: SortMethod; keywords?: string[]; } declare function carcinogenListSearch({ groups, sortBy, sortMethod, keywords }: CarcinogenListSearchProps): Carcinogen[]; export { type Carcinogen, type CarcinogenListSearchProps, type SortKey, type SortMethod, carcinogenListSearch };