import { OmniaContext } from "../.."; import { Store } from "../../stores"; import { ThemeDefinitionSettings, ThemeDefinition, ThemeTargetRegistration, ThemeTargetMapping } from "../../models"; import { IMessageBusSubscriptionHandler, GuidValue } from "../../models"; import { OmniaTheming } from "../OmniaTheming"; import { SettingsService, LocalizationService } from "../../services"; import { Theming } from "./Theming"; declare class InternalThemeStore extends Store { showThemeDefinitionEditor: import("../../stores").StoreState; themeDefinitions: import("../../stores").StoreState; themeTargetRegistrations: import("../../stores").StoreState; themeTargetMappings: import("../../stores").StoreState; themingInstances: import("../../stores").StoreState; protected onActivated(): void; } export declare class ThemeStore extends Store { internal: InternalThemeStore; omniaCtx: OmniaContext; subscriptionHandler: IMessageBusSubscriptionHandler; omniaTheming: OmniaTheming; protected settingsService: SettingsService; localizationService: LocalizationService; private currentBusinessProfile; private settingsKey; private static themeSettingsKey; private areThemeDefinitionsLoaded; get showThemeDefinitionEditor(): import("../../stores").StoreState; onActivated(): void; onDisposing(): void; private updateSettingsKey; private loadThemeMappingsForBusinessProfile; private ensureThemeTargetMappings; /** Implementation of Getters */ getters: { getThemingById: (id: GuidValue) => Theming; getThemingByTargetId: (themeTargetId: GuidValue) => Theming; getThemingByTargetIdWithFallback: (themeTargetId: GuidValue) => Theming; getAllThemeTargetMappings: () => ThemeTargetMapping[]; getThemeTargetMappingById: (id: GuidValue) => ThemeTargetMapping; getAllThemeDefinitions: () => ThemeDefinition[]; getThemeDefinitionById: (id: GuidValue) => ThemeDefinition; getThemeTargetRegistrationsById: (id: GuidValue) => ThemeTargetRegistration; getAllThemeTargetRegistrations: () => ThemeTargetRegistration[]; }; mutations: { addThemingInstance: import("../../stores").StoreMutation<(theming: Theming) => void, (theming: Theming) => IMessageBusSubscriptionHandler>; deleteThemingInstance: import("../../stores").StoreMutation<(theming: Theming) => void, (theming: Theming) => IMessageBusSubscriptionHandler>; createThemeTargetMappingForRegistration: import("../../stores").StoreMutation<(themeTargetRegistration: ThemeTargetRegistration) => void, (themeTargetRegistration: ThemeTargetRegistration) => IMessageBusSubscriptionHandler>; addThemeTargetRegistration: import("../../stores").StoreMutation<(themeTargetRegistration: ThemeTargetRegistration) => void, (themeTargetRegistration: ThemeTargetRegistration) => IMessageBusSubscriptionHandler>; removeAllCustomThemeDefintions: import("../../stores").StoreMutation<() => void, () => IMessageBusSubscriptionHandler>; addThemeDefinition: import("../../stores").StoreMutation<(theme: ThemeDefinition, forceUpdate?: boolean) => void, (theme: ThemeDefinition, forceUpdate?: boolean) => IMessageBusSubscriptionHandler>; }; actions: { updateThemeTargetMapping: import("../../stores").StoreAction void, (result: void, themeTargetMapping: ThemeTargetMapping) => void, (failureReason: any, themeTargetMapping: ThemeTargetMapping) => void, (themeTargetMapping: ThemeTargetMapping) => Promise>; ensureThemeDefinitions: import("../../stores").StoreAction void, (result: void) => void, (failureReason: any) => void, () => Promise>; saveThemeDefintion: import("../../stores").StoreAction void, (result: void, themeDefinition: ThemeDefinition) => void, (failureReason: any, themeDefinition: ThemeDefinition) => void, (themeDefinition: ThemeDefinition) => Promise>; deleteThemeDefintion: import("../../stores").StoreAction void, (result: void, themeDefinition: ThemeDefinition) => void, (failureReason: any, themeDefinition: ThemeDefinition) => void, (themeDefinition: ThemeDefinition) => Promise>; }; private updateBusinessProfileThemeMapping; } export {};