import { IWidget, IWidgetTypeDefinition } from "../components/widget/types";
import * as i0 from "@angular/core";
export declare class WidgetTypesService {
    private widgetTypes;
    constructor();
    registerWidgetType(key: string, version: number, widgetType: IWidgetTypeDefinition): void;
    getWidgetType(type: string, version?: number): IWidgetTypeDefinition;
    /**
     * Take a widget and merge it with the pizzagna of its type
     *
     * @param widget
     *
     * @return new reference of a widget including the pizzagna of its type
     */
    mergeWithWidgetType(widget: IWidget): IWidget;
    setNode(widgetTemplate: IWidgetTypeDefinition, section: "widget" | "configurator", pathKey: string, value: any): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTypesService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<WidgetTypesService>;
}
