/** * Pagefind matches indexed terms that are prefixes of the query, so typing * "adsf" returns every page that contains the word "a". Reject those weak * inverted-prefix hits while keeping normal prefix/extension matches * ("route" → "routes", "err" → "error"). */ export declare function isUsefulMark(query: string, mark: string): boolean; export type PagefindMatchData = { excerpt?: string; meta?: { title?: string; }; sub_results?: Array<{ excerpt?: string; title?: string; }>; }; export declare function isUsefulPagefindMatch(query: string, data: PagefindMatchData): boolean;