import { Condition, DocIdCondition, SimpleCondition } from '../public-types/query.public-types';
/**
 * Generates the regex pattern, handling special characters as follows:
 *  - `_` is replaced with a `.`
 *  - `%` is replaced with `[\s\S]*`.
 *  - The above characters can be escaped with \, eg. `\_` is replaced with `_` and `\%` with `%`.
 *  - All special characters in regex (-, /, \, ^, $, *, +, ?, ., (, ), |, [, ], {, }) get escaped with \
 *
 *  Exported for testing purposes.
 * */
export declare function replaceSpecialCharacters(input: string): string;
/** Returns true if the condition is a 'SimpleCondition' or false otherwise. */
export declare function isSimpleCondition(condition: Condition): condition is SimpleCondition;
/** Returns true if the condition is a 'DocIdCondition' or false otherwise. */
export declare function isDocIdCondition(condition: Condition): condition is DocIdCondition;
