/**
 * Dispatched by `cx-rich-text-video-viewer` so the TipTap video extension plugin can apply document changes
 * (`setNodeMarkup`, etc.) without the viewer holding an `Editor` reference.
 */
export type CxTiptapVideoDocRequestDetail = {
    attrs: Record<string, unknown>;
    operation: 'merge-attrs';
} | {
    height: string;
    operation: 'resize-end';
    width: string;
} | {
    height: number;
    operation: 'fix-size';
    width: number;
} | {
    operation: 'retry-remote-upload';
};
export type CxTiptapVideoDocRequestEvent = CustomEvent<CxTiptapVideoDocRequestDetail>;
declare global {
    interface GlobalEventHandlersEventMap {
        'cx-tiptap-video-doc-request': CxTiptapVideoDocRequestEvent;
    }
}
