import type { OperoChatServiceConfig } from "../services/OperoChatService"; import type { OperoChatMessage, OperoChatError, OperoSource } from "../types"; export interface UseOperoChatConfig extends OperoChatServiceConfig { customStyles?: any; } export interface UseOperoChatReturn { isVisible: boolean; messages: OperoChatMessage[]; isLoading: boolean; isConnected: boolean; errorMessage: string | null; progressMessage: string | null; conversationTitle: string; isViewerVisible: boolean; viewerSource: OperoSource | null; viewerPageNumber?: number; conversations: any[]; isLoadingHistory: boolean; hasMoreConversations: boolean; isHistoryDrawerVisible: boolean; openChat: () => void; closeChat: () => void; sendMessage: (message: string) => Promise; checkConnectivity: () => Promise; clearMessages: () => void; dismissError: () => void; setError: (error: OperoChatError) => void; handleReaction: (messageId: string, reactionType: "thumbs_up" | "thumbs_down") => Promise; openDocumentViewer: (source: OperoSource, pageNumber?: number) => void; closeDocumentViewer: () => void; loadConversations: () => Promise; loadMoreConversations: () => Promise; loadConversation: (conversationId: string) => Promise; startNewConversation: () => void; openHistoryDrawer: () => void; closeHistoryDrawer: () => void; } export declare const useOperoChat: (config: UseOperoChatConfig) => UseOperoChatReturn; //# sourceMappingURL=useOperoChat.d.ts.map