export type Guid = string; export interface BaseProps { header?: string; subheader?: string; kpis?: { label: string; value: number; }[]; data: { [key: string]: any; }[]; customWidth?: number; customHeight?: number; customCardWidth?: number; kpisPosition?: 'left' | 'top'; hideAdornment?: boolean; hideBorder?: boolean; removePadding?: boolean; chartId?: string; } export interface XyChartBaseProps extends BaseProps { yAxisLabel?: string; xAxisLabel?: string; } export interface InsightType { properties: InsightTypeProperties; dataFields: InsightTypeField[]; version: string; name: string; insightTypeId: Guid; maxKpis: number; } export interface InsightTypeProperties { hidden: boolean; component: string; icon: string; section: string; } export interface Insight { insightId?: Guid; clusterId?: number; apiMethodInstanceId?: Guid; insightTypeId: Guid; version: string; title: string; subheader: string; dataMapping: string; insightInsightKpi?: InsightKpi[]; insightInsightType?: InsightType; } export interface InsightKpi { insightKpiId?: Guid; insightId?: Guid; label: string; field: string; active: boolean; } export interface InsightTypeField { type: 'field' | 'text' | 'boolean'; name: string; label: string; required: boolean; fieldRestriction?: 'date' | 'number' | 'string'; } export type XYAxisXPosition = 'X' | 'X2'; export type XYAxisYPosition = 'Y' | 'Y2'; export type XYAxisPosition = XYAxisXPosition | XYAxisYPosition; export type XYAxisDataType = 'string' | 'date' | 'number'; export type XYSeriesTypes = 'Area' | 'StackedArea' | 'Line' | 'SmoothedLine' | 'Column' | 'StackedColumn' | 'Step' | 'ScatterPlot'; export interface XYMultiSeriesAxisProps { id: string; titles: string[]; dataType: XYAxisDataType; } export interface XYMultiSeriesXAxisProps extends XYMultiSeriesAxisProps { position: XYAxisXPosition; } export interface XYMultiSeriesYAxisProps extends XYMultiSeriesAxisProps { position: XYAxisYPosition; } export interface XYMultiSeriesSeriesProps { type: XYSeriesTypes; name: string; xAxisId: string; xAxisPropertyName: string; yAxisId: string; yAxisPropertyName: string; } //# sourceMappingURL=types.d.ts.map