interface ChatMessage { role: 'user' | 'assistant' | 'system'; content: string; } interface AIResponse { content: string; usage?: { prompt_tokens: number; completion_tokens: number; total_tokens: number; }; } export declare class AIService { private provider; private iieasyUrl; private iieasyKey; private iieasyModel; private lmstudioUrl; private lmstudioModel; constructor(); setProvider(provider: 'iieasy' | 'lmstudio'): void; chat(messages: ChatMessage[], systemPrompt?: string): Promise; private chatIIEasy; private chatLMStudio; extractEstimateData(text: string, previousData?: Partial<{ direction: string; customer: string; objectName: string; executor: string; works: Array<{ name: string; volume: number; unit: string; }>; }>, estimateContext?: { objectName: string; customer: string; executor?: string; direction?: string; items?: Array<{ workName: string; quantity: number; unit?: string; }>; }): Promise; discussEstimate(userMessage: string, history: Array<{ role: string; content: string; }>, estimateJson: { objectName: string; customer: string; executor?: string; direction?: string; items?: Array<{ workName: string; quantity: number; unit?: string; basePrice?: number; totalPrice?: number; }>; totals?: Array<{ label: string; resultValue: number; }>; }): Promise; findPriceItems(workDescription: string, priceItems: any[]): Promise; } export {}; //# sourceMappingURL=ai.service.d.ts.map