import type { StackSignal } from '../../types/plugin-install.js';
/** Test helper — clears the alias-map cache. Production never calls this. */
export declare function resetStackMatcherCache(): void;
/**
 * SPEC-605: Read package.json from projectPath, extract all dependency names,
 * and pass them through matchStackSignals() to produce StackSignal[].
 * Falls back to empty array when package.json is absent or unreadable.
 */
export declare function scanProjectForStack(projectPath: string): Promise<StackSignal[]>;
/**
 * Convert raw stack string[] (from ProjectKnowledge.stack or scan_project)
 * into typed StackSignal[]. Deduplicates by canonical name.
 */
export declare function matchStackSignals(stackItems: string[], stackHints?: string[]): StackSignal[];
//# sourceMappingURL=stack-matcher.d.ts.map