import { QueryIR } from '../ir.js'; import { CompilationResult } from './index.js'; /** * Cache for compiled subqueries to avoid duplicate compilation */ export type QueryCache = WeakMap; /** * Mapping from optimized queries back to their original queries for caching */ export type QueryMapping = WeakMap; export type WindowOptions = { offset?: number; limit?: number; };