import type { FilterFieldValueOperationResult, FilterFieldValueOperationStatement } from '../../types/value-operations.js'; /** * Removes a filter statement or value from an existing FilterField value string. * * - If the value is not present for the specified key, the statement is not changed. * - If removing a value from `key in (v1, v2)` leaves one value, the statement collapses to `key = v1`. * - When multiple statements with the same key, operator and value exist, the rightmost one (in document order) is removed. * - When `options.removeAll` is `true`, all matching occurrences are removed instead of only the rightmost one. * * @public * @param currentValue - The current FilterField value string. * @param filter - The filter statement or value to remove. * @param options - Optional configuration for the remove operation. * @returns The new FilterField value string and whether the operation produced a change. */ export declare function removeFilter(currentValue: string, filter: FilterFieldValueOperationStatement, options?: { removeAll?: boolean; }): FilterFieldValueOperationResult;