import type { FeatureModuleSpec } from '@contractspec/lib.contracts-spec/features';
export interface UseFeatureRegistryReturn {
    /** All registered features. */
    features: FeatureModuleSpec[];
    /** Get a feature by its key. */
    getFeature: (key: string) => FeatureModuleSpec | undefined;
    /** Get features with a specific tag. */
    getByTag: (tag: string) => FeatureModuleSpec[];
    /** Get features by owner. */
    getByOwner: (owner: string) => FeatureModuleSpec[];
    /** Get all unique tags across features. */
    getUniqueTags: () => string[];
    /** Get all unique domains across features. */
    getUniqueDomains: () => string[];
    /** Get all unique stability values across features. */
    getUniqueStabilities: () => string[];
}
/**
 * Hook to access the ContractSpec feature registry.
 * Provides feature listing and filtering capabilities.
 */
export declare function useFeatureRegistry(): UseFeatureRegistryReturn;
