import type { InputQuery } from '../types/Types'; export declare class QueryHandler { /** * Saved params */ private query; /** * List of allowed operators */ private static SYMBOL_TO_PREFIX_MAPPING; /** * Default meta-data */ private static DEFAULT_META; /** * Keep track of meta-data such as limit, etc. */ private meta; /** * Combine new query with existing queries. * * @param query InputQuery object * @return This instance */ addQuery(query: InputQuery): this; /** * Set a limit of number of results to return. Defaults to 10. * If multiple calls are made, only the last one will be used. * The limit can only an integer between 1-100 inclusive. * * @param newLimit The limit to set. * @return This instance */ limit(newLimit: number): this; /** * Offset the query results. Defaults to 0. * If multiple are provided, the last one will be used. * The offset can only an integer greater or equal to 1. * * @param newOffset The offset to use. * @return This instance */ offset(newOffset: number): this; /** * Reset query, also sets meta-data to defaults. * * @return This instance */ reset(): this; /** * Encode query * * @return Encoded query string */ encodeQuery(): string; }