UNPKG

optivise

Version:

Optivise - The Ultimate Optimizely Development Assistant with AI-powered features, zero-config setup, and comprehensive development support

24 lines 952 B
/** * Product Detection Service * Detects Optimizely products from project context and prompts */ import type { ProductDetectionResult, OptimizelyProduct, Logger } from '../types/index.js'; export declare class ProductDetectionService { private readonly logger; private isInitialized; private readonly detectionPatterns; constructor(logger: Logger); initialize(): Promise<void>; detectFromProject(projectPath: string): Promise<ProductDetectionResult>; detectFromPrompt(prompt: string, productHints?: OptimizelyProduct[]): Promise<ProductDetectionResult>; private analyzeProjectStructure; private checkDirectoryPatterns; private checkFilePatterns; private analyzePackageDependencies; private analyzeDotnetDependencies; private analyzePromptContent; private matchesPattern; private generateSuggestedActions; isEnabled(): boolean; } //# sourceMappingURL=product-detection-service.d.ts.map