/** * Framework detector — identifies co-existing frameworks in a project root. * * Scans for framework marker files/directories and validates boundary claims * to detect potential conflicts between frameworks (GSD, BMAD, Speckit, Hivemind). * * @module framework-detector */ export interface FrameworkMarker { /** Canonical framework identifier */ name: string; /** Files/directories that indicate this framework is present */ configFiles: string[]; /** Directories owned by this framework */ boundaryDirs: string[]; /** Prefix for generated configs to avoid name collisions */ namespacePrefix: string; } export interface DetectedFramework { marker: FrameworkMarker; rootPath: string; configPath: string | null; boundaryPaths: string[]; } export interface FrameworkDetectionResult { frameworks: DetectedFramework[]; conflicts: string[]; warnings: string[]; } export declare const KNOWN_FRAMEWORKS: FrameworkMarker[]; /** * Scans a project root for known framework markers. * * @param projectRoot - Absolute or relative path to the project root * @returns Detection result with discovered frameworks, conflicts, and warnings */ export declare function detectFrameworks(projectRoot: string): Promise; /** * Validates that framework boundary claims do not overlap. * * @param frameworks - Detected frameworks to validate * @returns Array of conflict descriptions */ export declare function validateBoundaries(frameworks: DetectedFramework[]): string[]; //# sourceMappingURL=framework-detector.d.ts.map