import { PlainObject } from '@xh/hoist/core'; import { ViewManagerModel } from './ViewManagerModel'; import { ViewInfo } from './ViewInfo'; import { JsonBlob } from '@xh/hoist/svc'; /** * A named saved bundle of state for components. * * @mcpHint user-saved state bundle managed by ViewManagerModel */ export declare class View { /** * Default View representing code state of all contained components. * Available for all view managers where `enableDefault` is true. */ /** Metadata about this View. Null for 'default' view */ readonly info: ViewInfo; /** * State for the components in the view. Only state that differs from the initial "code" * state of the components is captured. */ readonly value: Partial; private readonly model; get name(): string; get group(): string; get description(): string; get token(): string; get type(): string; get isDefault(): boolean; get isGlobal(): boolean; get isShared(): boolean; get isOwned(): boolean; get isCurrentView(): boolean; get lastUpdated(): number; get typedName(): string; static fromBlob(blob: JsonBlob, model: ViewManagerModel): View; static createDefault(model: ViewManagerModel): View; withUpdatedValue(value: Partial): View; constructor(info: ViewInfo, value: Partial, model: ViewManagerModel); }