import type { FeatureModuleSpec } from '@contractspec/lib.contracts-spec/features';
export interface FeatureFilters {
    search: string;
    tags: string[];
    stability: string[];
    domain: string[];
}
export interface UseFeatureFiltersReturn {
    /** Current filter state. */
    filters: FeatureFilters;
    /** Update the search query. */
    setSearch: (search: string) => void;
    /** Toggle a tag filter. */
    toggleTag: (tag: string) => void;
    /** Toggle a stability filter. */
    toggleStability: (stability: string) => void;
    /** Toggle a domain filter. */
    toggleDomain: (domain: string) => void;
    /** Clear all filters. */
    clearFilters: () => void;
    /** Filtered features based on current filters. */
    filteredFeatures: FeatureModuleSpec[];
    /** Whether any filters are active. */
    hasActiveFilters: boolean;
}
/**
 * Hook for managing feature filter state.
 * Provides filter controls and filtered feature list.
 */
export declare function useFeatureFilters(features: FeatureModuleSpec[]): UseFeatureFiltersReturn;
