import { QueryNode } from '../../query-tree'; import { JSCompoundQuery } from './js'; import { Clock, IDGenerator } from '../../execution/execution-options'; export interface QueryGenerationOptions { /** * An interface to determine the current date/time */ readonly clock: Clock; /** * An interface to generate IDs, e.g. for new child entities. */ readonly idGenerator: IDGenerator; } export declare function getJSQuery(node: QueryNode, options?: Partial): JSCompoundQuery; /** * Is thrown if a FlexSearch query containing fulltext-filters is performed for an in-memory database. */ export declare class FlexSearchAnalyzerNotSupportedError extends Error { constructor(analyzer: string); } /** * Is thrown if a FlexSearch query containing an aggregation filter is performed for an in-memory database. */ export declare class FlexSearchAggregationNotSupportedError extends Error { constructor(); }