import type { RegistryEntry, FrameworkReference } from '../../types/index.js';
export type { FrameworkReference };
/**
 * Detect which frameworks from the registry are mentioned in the spec text.
 * A framework is considered mentioned if one of its aliases appears in the text
 * (case-insensitive). Avoids single-word generic terms without API context.
 */
export declare function detectFrameworks(specText: string, registry: Map<string, RegistryEntry>): string[];
/**
 * Extract potential API/pattern references from spec text for specific frameworks.
 * Returns deduplicated references with framework attribution.
 */
export declare function extractReferences(specText: string, frameworkIds: string[], registry: Map<string, RegistryEntry>): FrameworkReference[];
/**
 * Detect any framework names mentioned in the spec that are NOT in the registry.
 * Scans for common framework keywords in text that don't map to known entries.
 */
export declare function detectUnknownFrameworks(specText: string, registry: Map<string, RegistryEntry>): string[];
//# sourceMappingURL=matcher.d.ts.map