/** Sanitizes query by replacing unquoted colons (:) with a space since these would result in a field specification (and possibly error) when using them in Azure Cognitive Search.
 * Also makes sure string is always terminated with closing "-sign if one was opened but never closed.
 * @param query Query to sanitize.
 * @returns Sanitized query.
 */
export declare const sanitizeQuery: (query?: string) => string | undefined;
/** Returns true in case position in given string is within double quotes.
 * @param query String to check.
 * @param index Zero based position within query to check for double quotes.
 * @returns True if index is within double quotes.
 */
export declare const isQuoted: (query: string, index: number) => boolean;
//# sourceMappingURL=query.d.ts.map