import { WidgetMetadata, WidgetViewsRegistration } from './widget-metadata';
import { WidgetFilter } from './widget-filter';
export interface WidgetRegistry {
    widgets: {
        [key: string]: WidgetMetadata;
    };
    filters?: WidgetFilter[];
}
/**
 * @deprecated Used internally
 */
export declare function initRegistry(widgetRegistry: WidgetRegistry): WidgetRegistry;
/**
 * Adds custom views to a chosen widget in the widget registry. Existing key entries will be replaced.
 * @param widgetRegistry The widget registry object
 * @param widgetKey The key of the widget in the registry
 * @param views The views object that is to be added
 */
export declare function addWidgetViews(widgetRegistry: WidgetRegistry, widgetKey: string, views: WidgetViewsRegistration): void;
