import { z } from 'zod'; /** * Simplified schema for Glean chat requests designed for LLM interaction */ export declare const ToolChatSchema: z.ZodObject<{ message: z.ZodString; context: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; context?: string[] | undefined; }, { message: string; context?: string[] | undefined; }>; export type ToolChatRequest = z.infer; /** * Initiates or continues a chat conversation with Glean's AI. * * @param params The chat parameters using the simplified schema * @returns The chat response * @throws If the chat request fails */ export declare function chat(params: ToolChatRequest): Promise; /** * Formats chat responses into a human-readable text format. * * @param chatResponse The raw chat response from Glean API * @returns Formatted chat response as text */ export declare function formatResponse(chatResponse: any): string; //# sourceMappingURL=chat.d.ts.map