import { SearchQueryDTO, TextSearchQueryMatchTypes } from './entities/SearchQueryDTO'; export interface QueryKeywords { days_ago: string; years_ago: string; months_ago: string; weeks_ago: string; every_year: string; every_month: string; every_week: string; lastNDays: string; sameDay: string; portrait: string; landscape: string; orientation: string; kmFrom: string; resolution: string; rating: string; personCount: string; NSomeOf: string; someOf: string; or: string; and: string; date: string; any_text: string; caption: string; directory: string; file_name: string; keyword: string; person: string; position: string; } export declare const defaultQueryKeywords: QueryKeywords; export declare class SearchQueryParser { private keywords; constructor(keywords?: QueryKeywords); static stringifyText(text: string, matchType?: TextSearchQueryMatchTypes): string; static stringifyDate(time: number): string; static humanToRegexpStr(str: string): string; /** * Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date. * @param text * @private */ private static parseDate; parse(str: string, implicitAND?: boolean): SearchQueryDTO; stringify(query: SearchQueryDTO): string; private stringifyOneEntry; }