import { SubscriptionHandler } from "../core"; import { VersionedAlternateLayout, VersionedLayout, VersionedLayoutId, VersionedLayoutDefinition, DisplayBreakpointVersionedAlternateLayoutMapping, GuidValue, ICheckedoutVersionedData, IVersionedData, IVersionedDataIdentifier, IVersionReference, LatestReferenceResponse, Layout } from "../models"; import { Store } from "./Store"; export declare class VersionedLayoutStore extends Store { private versionedLayoutService; private omniaContext; private internal; subscriptionHandler: SubscriptionHandler; getters: { getLayout: (versionedLayoutId: number) => VersionedLayout; getLayoutByIdentifer: (identifier: IVersionedDataIdentifier) => VersionedLayout; getLayoutDefinition: (version: IVersionReference) => IVersionedData; getLatestRef: (dataIdentifier: IVersionedDataIdentifier) => LatestReferenceResponse; getAppScopedLayoutWithDefinition: (appInstanceId: GuidValue, definition: new () => Definition) => VersionedLayout[]; getTenantScopedLayoutWithDefinition: (definition: new () => Definition_1) => VersionedLayout[]; getBusinessProfileScopedLayoutWithDefinition: (businessProfileId: GuidValue, definition: new () => Definition_2) => VersionedLayout[]; }; mutations: { addOrUpdateLayouts: import("./Store").StoreMutation<(...versionedLayouts: VersionedLayout[]) => void, (...args: VersionedLayout[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>; addOrUpdateDefinitions: import("./Store").StoreMutation<(...definitions: IVersionedData[]) => void, (...args: IVersionedData[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>; }; actions: { ensureLoadForApp: import("./Store").StoreAction void, (result: void, appInstanceId: GuidValue) => void, (failureReason: any, appInstanceId: GuidValue) => void, (appInstanceId: GuidValue) => Promise>; ensureLoadForTenant: import("./Store").StoreAction void, (result: void) => void, (failureReason: any) => void, () => Promise>; ensureLoadLayoutDefinitionLatestRef: import("./Store").StoreAction void, (result: void, dataIdentifier: IVersionedDataIdentifier, useCache?: unknown) => void, (failureReason: any, dataIdentifier: IVersionedDataIdentifier, useCache?: unknown) => void, (dataIdentifier: IVersionedDataIdentifier, useCache?: unknown) => Promise>; ensureLoadByIdentifier: import("./Store").StoreAction void, (result: void, identifier: IVersionedDataIdentifier, useCache?: unknown) => void, (failureReason: any, identifier: IVersionedDataIdentifier, useCache?: unknown) => void, (identifier: IVersionedDataIdentifier, useCache?: unknown) => Promise>; ensureLoadById: import("./Store").StoreAction void, (result: void, versionedLayoutId: VersionedLayoutId, useCache?: unknown) => void, (failureReason: any, versionedLayoutId: VersionedLayoutId, useCache?: unknown) => void, (versionedLayoutId: VersionedLayoutId, useCache?: unknown) => Promise>; ensureLoadDefinition: import("./Store").StoreAction void, (result: void, version: IVersionReference) => void, (failureReason: any, version: IVersionReference) => void, (version: IVersionReference) => Promise>; ensureLoadDefinitionWithParentLayout: import("./Store").StoreAction void, (result: Layout, version: IVersionReference, parentVersion: IVersionReference, force?: boolean) => void, (failureReason: any, version: IVersionReference, parentVersion: IVersionReference, force?: boolean) => void, (version: IVersionReference, parentVersion: IVersionReference, force?: boolean) => Promise>; ensureLoadDisplayBreakpointMapping: import("./Store").StoreAction void, (result: DisplayBreakpointVersionedAlternateLayoutMapping, versionedLayout: VersionedLayout, useCache?: unknown) => void, (failureReason: any, versionedLayout: VersionedLayout, useCache?: unknown) => void, (versionedLayout: VersionedLayout, useCache?: unknown) => Promise>; ensureLoadByProfileAndTypeId: import("./Store").StoreAction void, (result: void, businessProfileId: GuidValue, layoutTypeId: GuidValue) => void, (failureReason: any, businessProfileId: GuidValue, layoutTypeId: GuidValue) => void, (businessProfileId: GuidValue, layoutTypeId: GuidValue) => Promise>; ensureLoadByTypeIds: import("./Store").StoreAction void, (result: void, layoutTypeIds: GuidValue[]) => void, (failureReason: any, layoutTypeIds: GuidValue[]) => void, (layoutTypeIds: GuidValue[]) => Promise>; setDisplayBreakpointMapping: import("./Store").StoreAction void, (result: void, versionedLayout: VersionedLayout, mapping: DisplayBreakpointVersionedAlternateLayoutMapping) => void, (failureReason: any, versionedLayout: VersionedLayout, mapping: DisplayBreakpointVersionedAlternateLayoutMapping) => void, (versionedLayout: VersionedLayout, mapping: DisplayBreakpointVersionedAlternateLayoutMapping) => Promise>; createAppScoped: import("./Store").StoreAction void, (result: { versionedLayout: VersionedLayout; checkedOutVersionedData: IVersionedData; }, appInstanceId: GuidValue, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => void, (failureReason: any, appInstanceId: GuidValue, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => void, (appInstanceId: GuidValue, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => Promise<{ versionedLayout: VersionedLayout; checkedOutVersionedData: IVersionedData; }>>; createBusinessProfileScoped: import("./Store").StoreAction void, (result: { versionedLayout: VersionedLayout; checkedOutVersionedData: IVersionedData; }, businessProfileId: GuidValue, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => void, (failureReason: any, businessProfileId: GuidValue, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => void, (businessProfileId: GuidValue, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => Promise<{ versionedLayout: VersionedLayout; checkedOutVersionedData: IVersionedData; }>>; createTenantScoped: import("./Store").StoreAction void, (result: { versionedLayout: VersionedLayout; checkedOutVersionedData: IVersionedData; }, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => void, (failureReason: any, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => void, (definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => Promise<{ versionedLayout: VersionedLayout; checkedOutVersionedData: IVersionedData; }>>; createAlternate: import("./Store").StoreAction void, (result: { versionedLayout: VersionedLayout; versionedAlternateLayout: VersionedAlternateLayout; checkedOutVersionedData: IVersionedData; }, layout: VersionedLayout, title: string, definition: VersionedLayoutDefinition) => void, (failureReason: any, layout: VersionedLayout, title: string, definition: VersionedLayoutDefinition) => void, (layout: VersionedLayout, title: string, definition: VersionedLayoutDefinition) => Promise<{ versionedLayout: VersionedLayout; versionedAlternateLayout: VersionedAlternateLayout; checkedOutVersionedData: IVersionedData; }>>; publishDefinition: import("./Store").StoreAction) => void, (result: IVersionedData, version: IVersionedData) => void, (failureReason: any, version: IVersionedData) => void, (version: IVersionedData) => Promise>>; updateDefinition: import("./Store").StoreAction) => void, (result: ICheckedoutVersionedData, version: ICheckedoutVersionedData) => void, (failureReason: any, version: ICheckedoutVersionedData) => void, (version: ICheckedoutVersionedData) => Promise>>; checkOutDefinition: import("./Store").StoreAction void, (result: ICheckedoutVersionedData, dataIdentifier: IVersionedDataIdentifier, takeOver?: boolean) => void, (failureReason: any, dataIdentifier: IVersionedDataIdentifier, takeOver?: boolean) => void, (dataIdentifier: IVersionedDataIdentifier, takeOver?: boolean) => Promise>>; checkInDefinition: import("./Store").StoreAction) => void, (result: IVersionedData, version: ICheckedoutVersionedData) => void, (failureReason: any, version: ICheckedoutVersionedData) => void, (version: ICheckedoutVersionedData) => Promise>>; discardDefinition: import("./Store").StoreAction) => void, (result: IVersionedData, version: ICheckedoutVersionedData) => void, (failureReason: any, version: ICheckedoutVersionedData) => void, (version: ICheckedoutVersionedData) => Promise>>; delete: import("./Store").StoreAction void, (result: VersionedLayout, layout: VersionedLayout) => void, (failureReason: any, layout: VersionedLayout) => void, (layout: VersionedLayout) => Promise>; deleteAlternate: import("./Store").StoreAction void, (result: VersionedLayout, alternateLayout: VersionedAlternateLayout) => void, (failureReason: any, alternateLayout: VersionedAlternateLayout) => void, (alternateLayout: VersionedAlternateLayout) => Promise>; updateAlternateLayout: import("./Store").StoreAction void, (result: VersionedLayout, alternateLayout: VersionedAlternateLayout) => void, (failureReason: any, alternateLayout: VersionedAlternateLayout) => void, (alternateLayout: VersionedAlternateLayout) => Promise>; updateLayout: import("./Store").StoreAction void, (result: VersionedLayout, layout: VersionedLayout) => void, (failureReason: any, layout: VersionedLayout) => void, (layout: VersionedLayout) => Promise>; }; private addOrUpdateDefinitions; private addOrUpdateLayouts; private addOrUpdateMappings; private removeLayous; private removeDefinitions; private replaceAllLayouts; private removeLatestRef; private removeLayoutFromAppRouteCache; private addOrUpdateLayoutIntoAppRouteCache; private addOrUpdateMappingIntoAppRouteCache; private loadDataFromContext; private getMergedVersionString; protected onActivated(): void; protected onDisposing(): void; }