/**
 * Contributor Detection Runner
 *
 * Runs a contributor's declarative detection spec against the project root.
 * Determines whether the contributor's framework is *in use* on this project,
 * not just installed. Pure I/O — no code execution.
 *
 * @architecture @.aiwg/architecture/decisions/ADR-023-contributor-discovery-convention.md
 * @issue #938
 */
import type { DetectionSpec } from './types.js';
/**
 * Run a contributor's detection spec. Returns the count of files matching
 * any glob pattern (with deduplication). The caller compares against
 * `spec.minCount` to decide in-use status.
 */
export declare function runDetection(spec: DetectionSpec, projectRoot: string): Promise<number>;
/**
 * Convenience wrapper: returns true when match count meets minCount (default 1).
 */
export declare function isInUse(spec: DetectionSpec, projectRoot: string): Promise<boolean>;
//# sourceMappingURL=detect.d.ts.map