import React from "react"; import "./index.less"; export declare type Logic = "and" | "or"; export declare type Operator = "CT" | "NC" | "EQ" | "NE" | "GT" | "LT" | "GE" | "LE"; export interface Schema { logic: Logic; items: SchemaItem[]; } export interface Expression { name: string; operator: Operator; value: string | number; } export interface SchemaItem { id: string; type: string; label: string; properties: { name: string; label: string; type: "number" | "string" | "boolean"; enum: Set; }[]; count: number; disabled: boolean; visible: boolean; logic: Logic; expressions: Expression[]; source: string; target: string; } declare const ExpressionGroup: React.FunctionComponent<{ schema: Schema; onSchemaChanged: (schema: Schema) => void; showCount?: boolean; showToggleDisabled?: boolean; }>; export default ExpressionGroup;