import { default as AlfrescoProxyService } from './AlfrescoProxyService'; declare const _default: ChatBackendService; export default _default; /** * Service for communicating with the Pristy Chat backend (Alfresco webscripts). * Handles workspace room creation and user token retrieval. */ declare class ChatBackendService extends AlfrescoProxyService { constructor(); /** * Check if chat integration is enabled. * * @returns {Promise<{enabled: boolean}>} */ getStatus(): Promise<{ enabled: boolean; }>; /** * Get the Rocket.Chat room information for a workspace. * * @param {string} siteId - The Alfresco site ID * @returns {Promise<{found: boolean, roomId?: string, roomName?: string}>} */ getWorkspaceRoom(siteId: string): Promise<{ found: boolean; roomId?: string; roomName?: string; }>; /** * Create a Rocket.Chat room for a workspace. * * @param {string} siteId - The Alfresco site ID * @returns {Promise<{roomId: string, roomName: string, created: boolean}|null>} */ createWorkspaceRoom(siteId: string): Promise<{ roomId: string; roomName: string; created: boolean; } | null>; /** * Get the current user's Rocket.Chat credentials. * * @returns {Promise<{hasCredentials: boolean, userId?: string, token?: string}>} */ getUserChatToken(): Promise<{ hasCredentials: boolean; userId?: string; token?: string; }>; /** * Save the current user's Rocket.Chat credentials. * * @param {string} userId - The Rocket.Chat user ID * @param {string} token - The Rocket.Chat personal access token * @returns {Promise<{success: boolean, message?: string}>} */ saveUserChatToken(userId: string, token: string): Promise<{ success: boolean; message?: string; }>; } //# sourceMappingURL=ChatBackendService.d.ts.map