import type { Observable } from '../../external/rxjs/index.js'; import type { InstallSettingsResponseModel, InstallRequestModel } from '../../packages/core/backend-api/index.js'; import { type UmbProblemDetails } from '../../packages/core/resources/index.js'; import { UmbContextToken } from '../../libs/context-api/index.js'; import type { UmbControllerHost } from '../../libs/controller-api/index.js'; import { UmbContextBase } from '../../libs/class-api/index.js'; /** * Context API for the installer * @class UmbInstallerContext */ export declare class UmbInstallerContext extends UmbContextBase { private _data; readonly data: Observable; private _currentStep; readonly currentStep: Observable; private _settings; readonly settings: Observable; private _installStatus; readonly installStatus: Observable; constructor(host: UmbControllerHost); /** * Observable method to get the current step in the installation process * @public * @returns {*} {Observable} * @memberof UmbInstallerContext */ currentStepChanges(): Observable; /** * Observable method to get the install status in the installation process * @public * @returns {*} {(Observable)} * @memberof UmbInstallerContext */ installStatusChanges(): Observable; /** * Increment the current step in the installation process * @public * @memberof UmbInstallerContext */ nextStep(): void; /** * Decrements the current step in the installation process * @public * @memberof UmbInstallerContext */ prevStep(): void; /** * Reset the installation process * @public * @memberof UmbInstallerContext */ reset(): void; /** * Set the data for the installation process * @public * @param {Partial} data The data to set * @memberof UmbInstallerContext */ appendData(data: Partial): void; /** * Get the data for the installation process * @public * @returns {*} {PostInstallRequest} * @memberof UmbInstallerContext */ getData(): InstallRequestModel; postInstallSetup(): Promise; /** * Set the install status * @public * @param {(UmbProblemDetails | null)} status The status to set * @memberof UmbInstallerContext */ setInstallStatus(status: UmbProblemDetails | null): void; /** * Load installer settings from the API * @private * @memberof UmbInstallerContext */ private _loadInstallerSettings; } export declare const UMB_INSTALLER_CONTEXT: UmbContextToken;