import { Message } from "../types"; import { z } from "zod"; export interface LLMResponse { content: string; role: string; toolCalls?: Array<{ name: string; arguments: string; }>; parsed?: any; // For structured output responses } export interface LLM { generateResponse( messages: Array<{ role: string; content: string }>, response_format?: { type: string }, tools?: any[], zodSchema?: z.ZodType ): Promise; generateChat(messages: Message[]): Promise; }