import { ContextManager, Context } from '../context'; import { Observable } from '../observable'; /** @zcontext */ export declare class EnvironmentContext extends Context { /** * Observable indicating if the application is in design time. * @zprop **/ readonly designTime: Observable; /** * Observable indicating if the application is in edit time. * @zprop * */ readonly editTime: Observable; /** * Observable indicating if the application is in run time. * @zprop **/ readonly runTime: Observable; /** * Observable indicating if the application is a development build. * @zprop **/ readonly developmentBuild: Observable; /** * Observable indicating if the application is a production build. * @zprop * */ readonly productionBuild: Observable; private readonly _documentFlagManager; constructor(contextManager: ContextManager, props: {}); dispose(): never; } /** * Determines if the application is in design time. * @param ctx The context manager to query. * @returns {boolean} True if in design time, otherwise false. */ export declare function isDesignTime(ctx: ContextManager): boolean; /** * Determines if the application is in edit time. * @param ctx The context manager to query. * @returns {boolean} True if in edit time, otherwise false. */ export declare function isEditTime(ctx: ContextManager): boolean; /** * Determines if the application is a development build. * @param ctx The context manager to query. * @returns {boolean} True if it's a development build, otherwise false. */ export declare function isDevelopmentBuild(ctx: ContextManager): boolean; /** * Determines if the application is a production build. * @param ctx The context manager to query. * @returns {boolean} True if it's a production build, otherwise false. */ export declare function isProductionBuild(ctx: ContextManager): boolean;