import { SafeTableField, SafeTableFieldKey, } from "./_GlideRecordHelpers/SafeTableTypes"; /** * The scoped QueryCondition API provides additional AND or OR conditions that can be added to the current condition, * allowing you to build complex queries such as: category='hardware' OR category='software' AND priority='2' AND * priority='1' */ export declare class GlideQueryCondition { constructor(); /** * Adds an OR condition to the current condition. */ addOrCondition(or: GlideQueryCondition): void; /** * Adds an OR condition to the current condition. */ addOrCondition, V extends SafeTableField>( name: F, value: V ): GlideQueryCondition; /** * Adds an OR condition to the current condition. */ addOrCondition, V extends SafeTableField>( name: F, operator: any, value: V ): GlideQueryCondition; addSystemOrCondition, V extends SafeTableField>( name: F, operator: any, value: V ): GlideQueryCondition; addUserOrCondition, V extends SafeTableField>( name: F, operator: any, value: V ): GlideQueryCondition; /** * Adds an AND condition to the current condition. */ addCondition(and: GlideQueryCondition): void; /** * Adds an AND condition to the current condition. */ addCondition, V extends SafeTableField>( name: F, value: V ): GlideQueryCondition; /** * Adds an AND condition to the current condition. */ addCondition, V extends SafeTableField>( name: F, oper: string, value: V ): GlideQueryCondition; addCondition, V extends SafeTableField>( name: F, operator: any, value: V ): GlideQueryCondition; addSystemCondition, V extends SafeTableField>( name: F, operator: any, value: V ): GlideQueryCondition; addUserCondition, V extends SafeTableField>( name: F, operator: any, value: V ): GlideQueryCondition; addQueryHint(name: string): void; addQueryHint(name: string, value: any): void; }