/**
 * Detect Project CLI
 *
 * Two modes of operation:
 * 1. FILE-BASED (default): Analyzes project files to detect type (React, Express, K8s, etc.)
 *    and suggests plugins to install.
 *    Usage: specweave detect-project [path]
 *
 * 2. NAME-BASED (legacy): Detects which project config an increment name belongs to.
 *    Usage: specweave detect-project --name "increment name"
 *
 * @module cli/commands/detect-project
 */
import { Command } from 'commander';
export interface DetectProjectOptions {
    /** Increment name for legacy name-based detection */
    name?: string;
    /** Description for legacy name-based detection */
    description?: string;
    /** Also install detected plugins after detection */
    install?: boolean;
    /** Silent mode - no stdout output (for hooks) */
    silent?: boolean;
}
export interface DetectProjectResult {
    /** Detection mode used */
    mode: 'file-based' | 'name-based';
    /** Detected project types (react, express, etc.) */
    types: string[];
    /** Recommended plugins to install */
    plugins: string[];
    /** Detection latency in milliseconds */
    latencyMs?: number;
    /** Whether plugins were installed (when --install used) */
    installed?: boolean;
    /** Installation result message (when --install used) */
    installMessage?: string;
    /** Legacy: detected project name from config (name-based mode only) */
    project?: string;
    /** Legacy: project display name (name-based mode only) */
    projectName?: string;
    /** Legacy: confidence score (name-based mode only) */
    confidence?: number;
}
/**
 * Main detect-project command handler
 */
export declare function detectProjectCommand(pathOrNothing: string | undefined, options?: DetectProjectOptions): Promise<DetectProjectResult>;
/**
 * Create the detect-project command for Commander
 */
export declare function createDetectProjectCommand(): Command;
export { detectProjectCommand as main };
//# sourceMappingURL=detect-project.d.ts.map