/**
 * Dispatched by the TipTap image plugin onto the originating `cx-rich-text-image-viewer` after async upload work.
 */
export type CxTiptapImageHostFeedbackDetail = {
    operation: 'upload';
    status: 'error' | 'idle' | 'loading' | 'success';
};
export type CxTiptapImageHostFeedbackEvent = CustomEvent<CxTiptapImageHostFeedbackDetail>;
declare global {
    interface GlobalEventHandlersEventMap {
        'cx-tiptap-image-host-feedback': CxTiptapImageHostFeedbackEvent;
    }
}
