import { FilterItemOptions, FiltersInstructions } from './types'; /** * Show the filter label with the counter for selected options * or just the total of available options when nothing is selected * @param options * @returns string * * @example * "Markets · 2 of 4" * "Markets · 4" */ export declare function computeFilterLabel({ label, totalCount, selectedCount, }: { label: string; totalCount: number; selectedCount: number; }): string; /** * Get total count of active filter groups from URL query string. * @param includeTextSearch if `true` will count `text` filter as active filter group * @returns number of active filters * Example: if we have 3 markets selected, will still count as `1` active filter group * If we have 3 markets and 1 status selected, will count as `2`. */ export declare function getActiveFilterCountFromUrl({ includeTextSearch, instructions, queryString, }: { includeTextSearch?: boolean; instructions: FiltersInstructions; queryString: string; }): number; export declare function getAllowedValuesFromItemOptions(instructionItem: FilterItemOptions): string[] | undefined;