import type { UmbServerContextConfig } from './types.js'; import type { ServerInformationResponseModel } from '../backend-api/index.js'; import { UmbContextBase } from '../../../libs/class-api/index.js'; import type { UmbControllerHost } from '../../../libs/controller-api/index.js'; export declare class UmbServerContext extends UmbContextBase { #private; /** * Observable that provides the full server information. * Every subscriber shares one request: the server is asked for its information at most once per * app session, no matter how many consumers observe this or the derived `isProductionMode`. */ readonly serverInformation: import("rxjs").Observable; /** * Observable that emits true when the server is running in Production mode, * false when not in Production mode, or undefined until server information is loaded. * UI consumers should treat undefined as restricted (safe default). */ readonly isProductionMode: import("rxjs").Observable; constructor(host: UmbControllerHost, config: UmbServerContextConfig); getBackofficePath(): string; getServerUrl(): string; getServerConnection(): import("./server-connection.js").UmbServerConnection; }