import { Store } from "@omnia/fx/stores"; import { CommandDefinition, ICommandStore } from "../models/CommandDefinition"; import { CommandPaletteInputBox, CommandPaletteListPickItem, CommandPaletteMessage } from "../models"; export declare class CommandStore extends Store implements ICommandStore { private commandsState; private showInputBoxState; private showMessageState; private listPickerState; private customComponentState; private containerStyle; constructor(); /** * Implementation of getters */ getters: { allCommands: (search: string) => CommandDefinition[]; currentListPickItems: (search: string) => CommandPaletteListPickItem[]; inputBox: () => CommandPaletteInputBox; message: () => CommandPaletteMessage; component: () => unknown; containerStyle: () => {}; }; /** * Implementation of mutations */ mutations: { registerCommand: import("@omnia/fx/stores").StoreMutation<(command: CommandDefinition) => void, (command: CommandDefinition) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>; setInputBoxResult: import("@omnia/fx/stores").StoreMutation<(value: string) => void, (value: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>; setListPickerResult: import("@omnia/fx/stores").StoreMutation<((value: CommandPaletteListPickItem) => void), (value: CommandPaletteListPickItem) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>; showMessage: import("@omnia/fx/stores").StoreMutation<(message: CommandPaletteMessage) => void, (message: CommandPaletteMessage) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>; resetState: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>; }; actions: { showInputBox: import("@omnia/fx/stores").StoreAction void, (result: CommandPaletteInputBox, title: string) => void, (failureReason: any, title: string) => void, (title: string) => Promise>; showListPicker: import("@omnia/fx/stores").StoreAction[]) => void, (result: CommandPaletteListPickItem, pickerItems: CommandPaletteListPickItem[]) => void, (failureReason: any, pickerItems: CommandPaletteListPickItem[]) => void, (pickerItems: CommandPaletteListPickItem[]) => Promise>>; showComponent: import("@omnia/fx/stores").StoreAction void, (result: void, component: unknown, containerStyle: {}) => void, (failureReason: any, component: unknown, containerStyle: {}) => void, (component: unknown, containerStyle: {}) => Promise>; }; onActivated(): void; onDisposing(): void; }