/** * Retrieval-class routing (Task 308). * * Consumes the `retrievalClass` field produced by Task 304's * gateway-classifier (landed) and returns a per-class index plan: which * labels to filter to, which fusion weights to favour, and whether to * skip the lookup entirely. * * No new Haiku call here — this module is a pure deterministic mapping * over the gateway's existing classification. */ export type RetrievalClass = "entity" | "temporal" | "event" | "general" | "none"; export interface IndexPlan { /** When true, the caller short-circuits and returns no results. */ skip: boolean; /** Restrict vector + BM25 to these labels. Undefined means no filter. */ labelFilter?: string[]; /** Weight on the vector half of the (weighted-sum) fusion. */ vectorWeight: number; /** Weight on the BM25 half of the (weighted-sum) fusion. */ bm25Weight: number; } /** * Return the index plan for a retrieval class. Unknown values fall back * to `general` rather than throwing — the routing is a soft hint and the * caller's old behaviour is the safe default. */ export declare function pickIndexMix(retrievalClass: string | undefined): IndexPlan; //# sourceMappingURL=route.d.ts.map