import { UmbElementPublishedPendingChangesManager } from '../pending-changes/index.js'; import { UmbContextBase } from '../../../../libs/class-api/index.js'; import type { UmbControllerHost } from '../../../../libs/controller-api/index.js'; import type { UmbPublishableWorkspaceContext, UmbWorkspaceActionExecutionOptions } from '../../../core/workspace/index.js'; export declare class UmbElementPublishingWorkspaceContext extends UmbContextBase implements UmbPublishableWorkspaceContext { #private; /** * Manages the pending changes for the published element. * @memberof UmbElementPublishingWorkspaceContext */ readonly publishedPendingChanges: UmbElementPublishedPendingChangesManager; workspaceAlias: string; constructor(host: UmbControllerHost); getEntityType(): string; publish(): Promise; /** * Save and publish the element * @param {UmbWorkspaceActionExecutionOptions} [options] - Optional execution options (e.g. `onActionStarting` invoked after the variant-picker modal closes). * @returns {Promise} * @memberof UmbElementPublishingWorkspaceContext */ saveAndPublish(options?: UmbWorkspaceActionExecutionOptions): Promise; /** * Unpublish the element * @returns {Promise} * @memberof UmbElementPublishingWorkspaceContext */ unpublish(): Promise; /** * Schedule the element for publishing * @returns {Promise} * @memberof UmbElementPublishingWorkspaceContext */ schedule(): Promise; } export { UmbElementPublishingWorkspaceContext as api };