import type { FilterGroup } from '../store/types.js';
/**
 * Narrows filter groups to a text query. A group survives either because its own name
 * matches — `CategoryFilterModal` splits `"Food/Beverages"` into the group `Food` plus
 * the item `Beverages`, so matching items alone would never find `"food"` — or because
 * some of its items match, in which case only those items remain.
 */
export declare const filterGroups: (groups: FilterGroup[], query: string) => FilterGroup[];
//# sourceMappingURL=filter-groups.d.ts.map