import { NamedQueryTypes } from '../store/data-source/named-query-types.model'; export type ConditionType = 'AND' | 'OR' | 'ATTRIBUTE'; export type ValueDataType = string | number; export type OperatorType = 'EQUALS' | 'CONTAINS' | 'START_WITH' | 'END_WITH' | 'GREATER_THAN' | 'LOWER_THAN' | 'INSIDE' | 'OUTSIDE'; export interface Condition { type: ConditionType; attribute?: string; value?: ValueDataType; upperValue?: ValueDataType; operator?: OperatorType; composed?: Array; } export interface NormalizedCondition { id: string; type: ConditionType; parentId: string; attribute?: string; value?: ValueDataType; upperValue?: ValueDataType; operator?: OperatorType; composed?: string[]; pattern?: string; isDate?: boolean; } export interface MonoClassConditions { masterId: string | null; parentId?: string; ids: string[]; entities: { [key: string]: NormalizedCondition; }; } export interface MonoClassSearchPayload { type: NamedQueryTypes.MONO_CLASS; oClass: string; icon?: string; condition: Condition; sort: { attribute: string; direction: string; }; } export interface OperatorOption { type: 'number' | 'string' | 'date'; operator: OperatorType; translation: string; twoValues: boolean; } export declare const OPERATOR_OPTIONS: OperatorOption[];