import type { Locale, Rule } from "../knowledge/schema.js"; export interface FaqHit { rule: Rule; score: number; } /** * Deterministic offline search over the bundled knowledge base. Both the base * (English) and the requested locale's fields are searched, so Chinese and * Japanese queries hit their localized titles while English queries keep * working under any --lang. Every query token must appear somewhere; the * score is the summed field-weight of its appearances plus a bonus when the * whole phrase matches a summary. */ export declare function searchRules(rules: Rule[], query: string, locale: Locale): FaqHit[]; //# sourceMappingURL=search.d.ts.map