import type { ComponentIntent, ProjectContext, AIServiceOptions } from '../types/index.js'; /** * Base interface for AI services */ export interface AIService { /** * Analyze natural language prompt and extract component intent */ analyzePrompt(prompt: string, context: ProjectContext): Promise; } /** * Abstract base class for AI services */ export declare abstract class BaseAIService implements AIService { protected apiKey: string; protected model: string; protected temperature: number; constructor(options: AIServiceOptions); abstract analyzePrompt(prompt: string, context: ProjectContext): Promise; protected abstract getDefaultModel(): string; /** * Build system prompt with component catalog */ protected buildSystemPrompt(): string; /** * Build user prompt with context */ protected buildUserPrompt(prompt: string, context: ProjectContext): string; /** * Validate and parse AI response */ protected parseResponse(response: string): ComponentIntent; } //# sourceMappingURL=ai-service.d.ts.map