/** * Base class for services that communicate with Alfresco webscripts. * Delegates HTTP, authentication (ticket) and error handling to the shared * `webscriptApi` from @alfresco/js-api, so no manual fetch/auth is needed. */ export default class AlfrescoProxyService { constructor(serviceName: any); serviceName: any; /** * GET request to an Alfresco webscript. * @param {string} scriptPath - path relative to /alfresco/s/ (ex: "fr/jeci/pristy/...") * @param {*} fallback - value returned on error (default: null) */ get(scriptPath: string, fallback?: any): Promise; /** * POST request to an Alfresco webscript. * @param {string} scriptPath - path relative to /alfresco/s/ * @param {Object} body * @param {Object} options - { throwOnError: false } */ post(scriptPath: string, body?: any, { throwOnError }?: any): Promise; /** * DELETE request to an Alfresco webscript. * @param {string} scriptPath - path relative to /alfresco/s/ * @returns {Promise} True if deleted successfully */ delete(scriptPath: string): Promise; } //# sourceMappingURL=AlfrescoProxyService.d.ts.map