import type { Clock, IDGenerator } from '../core/execution/execution-options.js'; import type { QueryNode } from '../core/query-tree/base.js'; import { JSCompoundQuery } from './js.js'; 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(); }