/**
 * Keyword Extractor - Pattern-Based Intelligence
 *
 * Extracts domain-specific keywords from product vision using intelligent
 * pattern matching. No external LLM API calls - all intelligence is encoded
 * at spec-time using domain knowledge.
 *
 * **Approach**:
 * 1. Define domain patterns (design, collaboration, productivity, etc.)
 * 2. Match vision text against patterns
 * 3. Score and rank keywords by relevance
 * 4. Deduplicate and return top 5-10 keywords
 *
 * **Benefits**:
 * - Zero external dependencies
 * - Instant execution (no API latency)
 * - 100% deterministic and testable
 * - Works offline
 */
/**
 * Domain pattern definitions
 *
 * Each pattern maps to a domain category and contains:
 * - Regex pattern for matching
 * - Weight (importance multiplier)
 * - Related keywords
 */
export interface DomainPattern {
    /** Domain category name */
    domain: string;
    /** Regex pattern for matching */
    pattern: RegExp;
    /** Weight multiplier (1.0 = normal, 2.0 = high priority) */
    weight: number;
    /** Related keywords for this domain */
    keywords: string[];
}
/**
 * Keyword match result
 */
export interface KeywordMatch {
    /** Matched keyword */
    keyword: string;
    /** Domain category */
    domain: string;
    /** Relevance score (higher = more relevant) */
    score: number;
    /** Number of times this keyword appeared */
    frequency: number;
}
/**
 * Domain patterns encoded with intelligence from spec generation time
 *
 * This is where the AI intelligence lives - as smart patterns designed
 * by Claude during spec generation, not as runtime LLM calls!
 */
export declare const DOMAIN_PATTERNS: DomainPattern[];
/**
 * Extract keywords from vision text using pattern matching
 *
 * @param vision - Product vision text (1-3 sentences)
 * @returns Array of 5-10 keywords sorted by relevance score
 *
 * @example
 * ```typescript
 * const keywords = extractKeywords('A Figma-like design tool for remote teams');
 * // Returns: ['design', 'collaboration', 'creative', 'team', 'visual', ...]
 * ```
 */
export declare function extractKeywords(vision: string): string[];
/**
 * Get detailed keyword analysis (useful for debugging/testing)
 *
 * @param vision - Product vision text
 * @returns Array of KeywordMatch objects with scores and domains
 */
export declare function analyzeKeywords(vision: string): KeywordMatch[];
//# sourceMappingURL=keyword-extractor.d.ts.map