export declare type LogicalOperator = 'AND' | 'OR'; export declare const logicalOperators: LogicalOperator[]; export declare type AttributeOperator = AttributeCompareOperator | AttributeNumberOperator; export declare type AttributeNumberOperator = '>' | '>=' | '<' | '<='; export declare const attributeNumberOperators: AttributeNumberOperator[]; export declare type AttributeCompareOperator = '=' | '!='; export declare const attributeCompareOperators: AttributeCompareOperator[]; export declare type TagOperator = 'TAG' | 'NOT TAG'; export declare const tagOperators: TagOperator[]; export declare type Attribute = number | string | boolean; export declare type LogicalExpression = { lhs: Expression; rhs: Expression; operator: LogicalOperator; type: 'LogicalExpression'; }; export declare type AttributeExpression = AttributeNumberExpression | AttributeIdentityExpression; export declare type AttributeNumberExpression = { attribute: string; value: number; operator: AttributeNumberOperator; type: 'AttributeNumberExpression'; }; export declare type AttributeIdentityExpression = { attribute: string; value: Attribute; operator: AttributeCompareOperator; type: 'AttributeIdentityExpression'; }; export declare type TagExpression = { tag: string; operator: TagOperator; type: 'TagExpression'; }; export declare type Expression = LogicalExpression | AttributeExpression | TagExpression; export declare type QueryInput = { tags: string[]; attributes: { [key: string]: Attribute; }; };