import { default as AlfrescoProxyService } from './AlfrescoProxyService'; declare const _default: DiffusionService; export default _default; /** * Service for communicating with the Pristy Diffusion backend (Alfresco webscripts proxy). * Handles site creation, templates, sync and CRUD operations. */ declare class DiffusionService extends AlfrescoProxyService { constructor(); /** * Check if diffusion integration is enabled. * * @returns {Promise<{enabled: boolean}>} */ getStatus(): Promise<{ enabled: boolean; }>; /** * Get available diffusion templates. * * @returns {Promise} List of templates */ getTemplates(): Promise; /** * Get diffusion sites for a workspace. * * @param {string} workspaceId - The workspace ID (site name) * @returns {Promise} List of diffusion sites for this workspace */ getSites(workspaceId: string): Promise; /** * Create a new diffusion site. * * @param {Object} payload - Site creation data * @returns {Promise} Created site or null on error */ createSite(payload: any): Promise; /** * Update an existing diffusion site. * * @param {Object} payload - Site update data (must include `id`) * @returns {Promise} Updated site or null on error */ updateSite(payload: any): Promise; /** * Delete a diffusion site. * * @param {string} siteId - The diffusion site ID * @returns {Promise} True if deleted successfully */ deleteSite(siteId: string): Promise; /** * Trigger synchronization for a diffusion site. * * @param {string} siteId - The diffusion site ID * @param {string} [workspaceId] - The Alfresco site shortName (to grant sync account access) * @returns {Promise} Sync job details or null on error */ triggerSync(siteId: string, workspaceId?: string): Promise; } //# sourceMappingURL=DiffusionService.d.ts.map