/**
 * Dispatched by `cx-rich-text-video-dialog` when the user confirms save. The host runs `setVideo` when `editPos` is
 * `null`, otherwise `setNodeMarkup` at `editPos` with `attrs`.
 */
export type CxRichTextVideoSaveAttrs = {
    comment: null;
    controls: boolean;
    height: string;
    keepAspRt: boolean;
    poster: string | null;
    sources: Array<{
        src: string;
        type?: string;
    }>;
    style: null;
    track: unknown[];
    width: string;
};
export type CxRichTextVideoSaveDetail = {
    attrs: CxRichTextVideoSaveAttrs;
    editPos: number | null;
};
export type CxRichTextVideoSaveEvent = CustomEvent<CxRichTextVideoSaveDetail>;
declare global {
    interface GlobalEventHandlersEventMap {
        'cx-rich-text-video-save': CxRichTextVideoSaveEvent;
    }
}
