import type { CategoryConfig } from '../components/CheckBoxGroup/CheckBoxGroup';
import type { ActivityFiltersData } from '../types/activityFilters';
/**
 * Extracts selected IDs from knowledge categories by their keys
 * @param categories - Array of category configurations
 * @param keys - Object mapping output keys to category keys
 * @returns Object with extracted selected IDs for each output key
 */
export declare function getSelectedIdsFromCategories(categories: CategoryConfig[], keys: Record<string, string>): Record<string, string[]>;
/**
 * Toggles an item in an array (adds if not present, removes if present)
 * @param array - Current array
 * @param item - Item to toggle
 * @returns New array with item toggled
 */
export declare function toggleArrayItem<T>(array: T[], item: T): T[];
/**
 * Toggles a single value (returns null if current value, otherwise returns new value)
 * @param currentValue - Current selected value
 * @param newValue - Value to toggle to
 * @returns New value or null if toggling off
 */
export declare function toggleSingleValue<T>(currentValue: T | null, newValue: T): T | null;
export declare function areFiltersEqual(filters1: ActivityFiltersData | null, filters2: ActivityFiltersData | null): boolean;
//# sourceMappingURL=activityFilters.d.ts.map