type Condition = 'overMax' | 'underMin'; interface Limit { threshold: number; condition: Condition; } interface Details { key: string; message: string; actual: string | number; limit?: Limit; } export { Condition, Details, Limit };