/**
 * Dispatched by `cx-rich-text-image-dialog` when the user confirms save. The host applies `attrs` to the document
 * (insert at selection when `editPos` is `null`, otherwise `setNodeMarkup` at `editPos`).
 */
export type CxRichTextImageSaveDetail = {
    attrs: {
        alt: string | null;
        enableCaption: boolean;
        height: string | null;
        imgStyle: string | null;
        keepAspRt: boolean;
        src: string;
        title: string | null;
        width: string | null;
    };
    editPos: number | null;
};
export type CxRichTextImageSaveEvent = CustomEvent<CxRichTextImageSaveDetail>;
declare global {
    interface GlobalEventHandlersEventMap {
        'cx-rich-text-image-save': CxRichTextImageSaveEvent;
    }
}
