import { GuidValue, MultilingualString } from "@omnia/fx/models"; import { DrawingShapeDefinition } from "../data"; import { ProcessDesignerStore } from "internal/processdesigner/stores"; export declare enum ProcessButtonType { ShapeButton = 0, ProcessButton = 1 } export declare enum DisplayProcessButtonType { SingleButton = 0, GroupButton = 1 } export interface IProcessButtonRenderer { id: string; title: MultilingualString; order: number; type: ProcessButtonType; displayType: DisplayProcessButtonType; tooltip?: string; icon?: string; /** * If you set this value the modelContentManifest will be opened in a dialog */ modelContentManifestId?: GuidValue; /** * @param currentStore From this you can get the current state of the process and shapes when the button is clicked */ onTriggered?: (currentStore?: ProcessDesignerStore) => void; } export interface IProcessButtonGroupRenderer extends IProcessButtonRenderer { buttons: Array; } export interface IProcessSetting { shapeSelectedDefinition: DrawingShapeDefinition; onClose: () => void; }