/**
 * Market Category Detector - Rule-Based Classification
 *
 * Classifies product vision into market categories using intelligent
 * rule-based matching against domain patterns. No external LLM calls -
 * all classification logic is encoded at spec-time.
 *
 * **Approach**:
 * 1. Match vision against domain patterns
 * 2. Score each market category based on pattern matches
 * 3. Calculate confidence score
 * 4. Return best-fit category with confidence
 *
 * **Benefits**:
 * - Zero external dependencies
 * - Instant classification (no API latency)
 * - 100% deterministic and testable
 * - Works offline
 */
import { MarketCategory } from './types.js';
/**
 * Market category classification result
 */
export interface MarketClassification {
    /** Detected market category */
    category: MarketCategory;
    /** Confidence score (0-1) */
    confidence: number;
    /** Runner-up category (if close) */
    runnerUp?: {
        category: MarketCategory;
        confidence: number;
    };
}
/**
 * Detect market category from vision text
 *
 * Uses rule-based classification against domain patterns to determine
 * the best-fit market category with confidence score.
 *
 * @param vision - Product vision text
 * @returns Market classification with category and confidence
 *
 * @example
 * ```typescript
 * const result = detectMarketCategory('A project management tool for agile teams');
 * // Returns: { category: 'productivity-saas', confidence: 0.85 }
 * ```
 */
export declare function detectMarketCategory(vision: string): MarketClassification;
/**
 * Get all potential market categories with scores (useful for debugging)
 *
 * @param vision - Product vision text
 * @returns Array of all categories with scores, sorted by confidence
 */
export declare function analyzeMarketCategories(vision: string): Array<{
    category: MarketCategory;
    confidence: number;
    matchedDomains: string[];
}>;
//# sourceMappingURL=MarketDetector.d.ts.map