import type { InternalValidatorMap } from './normalize-validator-map.js'; import type { FilterFieldProps } from '../../FilterField.types.js'; import type { FilterFieldStatementNode } from '../../types/tree-nodes.js'; import type { FilterFieldComparisonOperators, FilterFieldCustomTypes, FilterFieldPrimitive, FilterFieldValuePredicateItem } from '../../types/validation.js'; /** * Checks whether the current operator is a wildcard operator. * @internal */ export declare function isWildCardOperator(currentStatement: FilterFieldStatementNode | undefined): boolean; /** * Returns the type name when the value is of a custom type. */ export declare function isValidCustomType(textValue: string, customTypes?: FilterFieldCustomTypes): string | boolean; /** * checks whether an operator is valid based on the FilterField validatormap * @internal */ export declare function isValidOperator(textValue: string, key: string | undefined, internalValidatorMap: InternalValidatorMap | undefined, parserConfig?: FilterFieldProps['parserConfig']): boolean; /** * checks whether a value is valid based on the FilterField validatormap * @internal */ export declare function isValidValue(key: string | undefined, valueTextValue: string, valueType: string, internalValidatorMap: InternalValidatorMap | undefined, currentStatement: FilterFieldStatementNode, filterFieldValue: string, customTypes?: FilterFieldCustomTypes, parserConfig?: FilterFieldProps['parserConfig']): { isValid: boolean; message?: string; validTypes?: (FilterFieldPrimitive | string)[]; }; /** * Returns the textvalue of a filterfield value predicate that is neither a function nor an array. * @internal */ export declare function getValuePredicateTextValue(predicate: FilterFieldValuePredicateItem): string; /** * Returns valid operators for the given key. * @internal */ export declare function getValidOperators(key: string | undefined, internalValidatorMap: InternalValidatorMap | undefined, parserConfig?: FilterFieldProps['parserConfig']): FilterFieldComparisonOperators[]; /** * Returns valid operator short names * @internal */ export declare function getValidOperatorsShort(key: string | undefined, internalValidatorMap: InternalValidatorMap | undefined, parserConfig: FilterFieldProps['parserConfig']): string[]; /** * Lists valid operator short names (syntax colored, comma separated) * @internal */ export declare function getValidOperatorsColored(key: string | undefined, internalValidatorMap: InternalValidatorMap | undefined, parserConfig: FilterFieldProps['parserConfig']): string; /** * Get colored search operator * @internal */ export declare function getColoredSearchOperator(): string;