/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { FilterOperator } from '../interfaces/FilterOperator'; /** * Represents the operators for the TextFilter, NumericFilter, DateFilter and BooleanFilter components. * * The text field of each operator object will be resolved according to the * [localization messages]({% slug globalization_datatools %}#toc-messages). */ export declare class Operators { /** * An array containing the operators for the TextFilter component. * * The operators are: * * - { text: 'filter.containsOperator', operator: 'contains' } * - { text: 'filter.notContainsOperator', operator: 'doesnotcontain' } * - { text: 'filter.eqOperator', operator: 'eq' } * - { text: 'filter.notEqOperator', operator: 'neq' } * - { text: 'filter.startsWithOperator', operator: 'startswith' } * - { text: 'filter.endsWithOperator', operator: 'endswith' } * - { text: 'filter.isNullOperator', operator: 'isnull' } * - { text: 'filter.isNotNullOperator', operator: 'isnotnull' } * - { text: 'filter.isEmptyOperator', operator: 'isempty' } * - { text: 'filter.isNotEmptyOperator', operator: 'isnotempty' } */ static get text(): FilterOperator[]; /** * An array containing the operators for the NumericFilter component. * * The operators are: * * - { text: 'filter.eqOperator', operator: 'eq' } * - { text: 'filter.notEqOperator', operator: 'neq' } * - { text: 'filter.gteOperator', operator: 'gte' } * - { text: 'filter.gtOperator', operator: 'gt' } * - { text: 'filter.lteOperator', operator: 'lte' } * - { text: 'filter.ltOperator', operator: 'lt' } * - { text: 'filter.isNullOperator', operator: 'isnull' } * - { text: 'filter.isNotNullOperator', operator: 'isnotnull' } */ static get numeric(): FilterOperator[]; /** * An array containing the operators for the DateFilter component. * * The operators are: * * - { text: 'filter.eqOperator', operator: 'eq' } * - { text: 'filter.notEqOperator', operator: 'neq' } * - { text: 'filter.afterOrEqualOperator', operator: 'gte' } * - { text: 'filter.afterOperator', operator: 'gt' } * - { text: 'filter.beforeOperator', operator: 'lt' } * - { text: 'filter.beforeOrEqualOperator', operator: 'lte' } * - { text: 'filter.isNullOperator', operator: 'isnull' } * - { text: 'filter.isNotNullOperator', operator: 'isnotnull' } */ static get date(): FilterOperator[]; /** * An array containing the operators for the BooleanFilter component. * * The operators are: * * - { text: 'filter.eqOperator', operator: 'eq' } * - { text: 'filter.notEqOperator', operator: 'neq' } */ static get boolean(): FilterOperator[]; } /** * @hidden */ export declare const stringOperator: (operator: any) => boolean; /** * @hidden */ export declare const unaryOperator: (operator: any) => boolean;