UNPKG

@omnia/fx

Version:

Provide Omnia Fx typings and tooling for clientside Omnia development.

30 lines (29 loc) 957 B
import { Store } from "@omnia/fx/stores"; import { ThemeStoreV2 } from "@omnia/fx/ux"; import { ThemeDefinitionV2 } from "@omnia/fx-models"; import { CodeEditorState, codeEditorTabs, editorModes } from "../model"; export declare class ThemeEditorStore extends Store { editorMode: import("@omnia/fx/stores").StoreState<editorModes>; codeEditor: import("@omnia/fx/stores").StoreState<CodeEditorState>; themeAsJson: import("@omnia/fx/stores").StoreState<string>; editingThemeStore: ThemeStoreV2; constructor(); /** * Implementation of getters */ getters: {}; /** * Implementation of mutations */ mutations: { codeEditorTab: (newState: codeEditorTabs) => void; editorMode: (newState: editorModes) => void; setJsonTheme: (theme: ThemeDefinitionV2) => void; }; /** * Implementation of actions */ actions: {}; onActivated(): void; onDisposing(): void; }