export interface DataSeries { values: number[]; labels?: string[]; } export interface DataMatrix { data: number[][]; columns?: string[]; rows?: string[]; } export interface Condition { field: string; operator: '>' | '<' | '=' | '>=' | '<=' | '!='; value: number | string; } export interface ApiResponse { success: boolean; data?: T; error?: string; }