declare const _default: DashboardService; export default _default; declare class DashboardService { /** * Legacy method - retrieves dashboard config from webscript */ getDashboardConfig(dashboardFilename: any): Promise; /** * Retrieves the user's hidden 'Configuration' folder. * @private */ private _getHiddenFolder; /** * Retrieves or creates the 'dashboard.json' file within the user's hidden configuration folder. * @private */ private _getOrCreateDashboardFile; /** * Get content from Alfresco node * @private */ private _getContent; /** * Parses the JSON content of a given file node. * @private */ private _parseFileContent; /** * Get user preferences from Configuration folder * Returns default preferences if file doesn't exist */ getUserPreferences(): Promise; /** * Set dashboard preference for user * @param {string} preferredScope - Either 'user' or 'global' */ setDashboardPreference(preferredScope: string): Promise; /** * Check if user has a personal dashboard */ hasPersonalDashboard(): Promise; /** * Load personal dashboard config from user's Configuration folder */ getPersonalDashboard(): Promise; /** * Load global dashboard config from dashboard-config.json */ getGlobalDashboard(): Promise; /** * Load dashboard based on user preference * Returns an object with { config, scope } */ loadDashboard(): Promise<{ config: any; scope: string; }>; /** * Get version history for user's dashboard file * Returns array of versions with metadata */ getDashboardVersionHistory(scope?: string): Promise; /** * Revert dashboard to a specific version * @param {string} versionId - The version ID to revert to * @param {string} scope - Either 'user' or 'global' * @param {string} comment - Version comment (optional) */ revertDashboardToVersion(versionId: string, scope?: string, comment?: string): Promise; /** * Save dashboard configuration with scope * @param {Object} dashboardConfig - The dashboard configuration to save * @param {string} scope - Either 'user' or 'global' */ saveDashboard(dashboardConfig: any, scope?: string): Promise; } //# sourceMappingURL=DashboardService.d.ts.map