import { IHttpClient } from "../../dal"; import { ICopilotConversationResponse, ICopilotMessageBody, ICopilotResponseMessage } from "../../model/graph/Copilot"; export declare class CopilotChatService { protected graphClient: IHttpClient; protected converstationId: string | undefined; locationHint: { timeZone: string; }; constructor(graphClient: IHttpClient); initConversation(): Promise; sendTextMessage(text: string, onMessageReceived: (message: ICopilotResponseMessage) => void, onCompleted: (lastMessage: ICopilotConversationResponse) => void, onError: (error: any) => void): Promise; sendMessageBody(message: ICopilotMessageBody, onMessageReceived: (message: ICopilotResponseMessage) => void, onCompleted: (lastMessage: ICopilotConversationResponse) => void, onError: (error: any) => void): Promise; }