import type { OperoChatMessage, OperoChatError, OperoApiFilters } from "../types"; export declare class OperoChatAPI { private apiEndpoint; private apiKey; private userEmail?; private userRole?; private userIdentifier; constructor(apiEndpoint: string | undefined, apiKey: string, userEmail?: string, userRole?: string); private initializeUserIdentifier; get getUserEmail(): string | undefined; get getApiEndpoint(): string; get getUserIdentifier(): string | null; sendMessage(messages: Array<{ role: string; content: string; }>, conversationId?: string, filters?: OperoApiFilters, onChunk?: (chunk: string) => void, onError?: (error: OperoChatError) => void, onProgress?: (progress: string) => void, onSources?: (sources: any[]) => void, onMessageId?: (messageId: string, role: "user" | "assistant") => void): Promise<{ conversationId?: string; fullMessage: string; }>; checkConnectivity(): Promise; generateTitle(messages: OperoChatMessage[], conversationId: string): Promise; /** * Add or update a reaction to a message */ addReaction(messageId: string, reactionType: "thumbs_up" | "thumbs_down"): Promise; /** * Remove a reaction from a message */ removeReaction(messageId: string): Promise; } //# sourceMappingURL=OperoChatAPI.d.ts.map