export function getSearchQueryPredicate(query: string, options?: any) : (text: string) => boolean;