import { ContactField_type } from "./contacts"; export interface ISegment { id: string; spaceId?: string | null; name?: string | null; description?: string | null; count: number; lists: ISegmentList[]; filter?: ISegmentFilter; countLastUpdate?: string | null; createdAt?: string | null; updatedAt?: string | null; deletedAt?: string | null; } export interface ISegmentList { id: string; name: string | null; } export interface ISegmentFilter { operator: string | 'AND'; groups: ISegmentFilterGroup[]; } export interface ISegmentFilterGroup { operator: string | 'OR'; items: ISegmentFilterGroupItem[]; } export interface ISegmentFilterGroupItem { field: string; condition: string; value: string; } export declare enum Segment_Filter_Operator { NULL = 0, LESS_THAN = 1, LESS_THAN_EQUAL = 2, EQUAL = 3, GREATER_THAN_EQUAL = 4, GREATER_THAN = 5, START_WITH = 6, END_WITH = 7, CONTAINS = 8, NOT_CONTAINS = 9, ANY_VALUE = 10, NOT_EQUAL = 11 } export interface filter { key: string; type: ContactField_type; } export declare const Segment_Filter_Details: filter[]; export declare const Segment_Filter_Geography: filter[]; export declare const Segment_Filter_Account: filter[];