import type { FilterFieldProps } from '../../FilterField.types.js'; import type { FilterFieldTree } from '../../types/tree-nodes.js'; import type { FilterFieldCustomTypes, FilterFieldValidatorMap } from '../../types/validation.js'; /** * Conversion util that converts a string into a filter field tree. * @param filterString - Input string * @param options - Conversion options * @public */ export declare function convertStringToFilterFieldTree(filterString: string, options?: { /** Validators to restrict allowed keys and their operators. */ validatorMap?: FilterFieldValidatorMap; /** Map of custom types and their validation functions. */ customTypes?: FilterFieldCustomTypes; /** Config to enable new nodes in the FilterFieldTree. */ parserConfig?: FilterFieldProps['parserConfig']; }): { tree: FilterFieldTree; isValid: boolean; }; /** * Conversion util that converts a string into a filter field tree. * @param filterString - Input string * @param validatorMap - Validators to restrict allowed keys and their operators * @param parserConfig - Config to enable new nodes in the FilterFieldTree * @public * @deprecated Use the options object overload instead, passing a `ConvertStringToFilterFieldTreeOptions` object as the second argument. */ export declare function convertStringToFilterFieldTree(filterString: string, validatorMap?: FilterFieldValidatorMap, parserConfig?: FilterFieldProps['parserConfig']): { tree: FilterFieldTree; isValid: boolean; };