import { AssetSelectWidgetType } from "./ConfigurationInterfacesExtended"; import { IImageItemData, IBarcodeItemData, ITextItemData } from "@aurigma/design-atoms/Services/ItemsDataApplierInterfaces"; export declare namespace IToolboxConfigParsed { const injectName = "$cc.IToolboxConfigParsed"; } export interface IToolboxConfigParsed { disabled: boolean; buttons: ButtonType[]; containerToolboxes: { [key: string]: IToolboxConfigParsed; }; } export interface IItem { translationKey: string; translationKeyTitle: string; iconClass: string; itemConfig?: ITextItemData | IImageItemData | IBarcodeItemData; nameDialogEnabled: boolean; } export interface IButton extends IItem { buttons: ButtonType[]; } export interface ISingleButton extends IItem { action: ButtonAction; } export interface IGalleryButton extends ISingleButton { type: AssetSelectWidgetType; tabs: string[]; defaultTabName: string; } export declare type ButtonAction = "QrCode" | "LinearBarcode" | // Qr codes "Line" | "Rectangle" | "Ellipse" | // Shapes "Text" | "RichText" | "BoundedText" | "CustomText" | "PointText" | // Text items "Image" | "Background" | "Layout"; export declare type SingleButtonType = ISingleButton | IGalleryButton | ButtonAction; export declare type ButtonType = IButton | SingleButtonType;