export declare function computeQueryHash(mvName: string, /** * Source-collection set the query depends on. Sorted before * canonicalization so set iteration order doesn't affect the hash. */ dependencies: ReadonlySet, /** * Stringified query-plan summary. The caller produces this from the * `Query` builder — concretely: a JSON serialization of clauses + * orderBy + limit + offset + joins. Function bodies inside * `wherePredicate` are NOT included here (those carry their own * `predicateHash` to be folded in by a later sub-issue). */ queryPlanSummary: string): Promise; /** * Canonicalize a query plan for hashing. Walks the plan structure * with sorted keys so insertion order doesn't perturb the result. * Lives here rather than in `query/builder.ts` to keep that module * stable across MV-specific evolutions. * * @internal exported for testing */ export declare function canonicalizeQueryPlan(plan: unknown): string;