import type { Component } from '../../shared-logic/src/Component/types';
import type { GlobalLibrary } from '../../shared-logic/src/GlobalLibrary/types';
export declare type AddComponentToLibraryEvent = {
    action: 'addComponentToLibrary';
    component: Component;
    customFields: GlobalLibrary.CustomFields;
};
export declare type DeleteComponentFromLibraryEvent = {
    action: 'deleteComponentFromLibrary';
    component: Component;
};
export declare type NewViewsInGlobalLibraryEvent = {
    action: 'newViewsInGlobalLibrary';
};
export declare enum GlobalLibraryUpdateStatus {
    SAVING = "saving",
    SAVED = "saved",
    DELETED = "deleted"
}
export declare type UpdateToGlobalLibraryStatus = {
    action: 'updateToGlobalLibraryStatus';
    state: GlobalLibraryUpdateStatus;
};
export declare type EventBus = (event: EventBusParams) => void;
export declare type EventBusParams = {
    data: EventBusOptions;
};
export declare type EventBusOptions = AddComponentToLibraryEvent | NewViewsInGlobalLibraryEvent | UpdateToGlobalLibraryStatus | DeleteComponentFromLibraryEvent;
