/**
 * Dispatched by `cx-rich-text-code-block` so the TipTap code-block extension can apply
 * document changes (`setNodeSelection`, `setNodeMarkup` for language, Prism refresh meta)
 * without the component holding an `Editor` reference.
 */
export type CxTiptapCodeBlockDocRequestDetail = {
    operation: 'request-prism-refresh';
} | {
    operation: 'set-node-selection';
} | {
    language: string;
    operation: 'set-language';
};
export type CxTiptapCodeBlockDocRequestEvent = CustomEvent<CxTiptapCodeBlockDocRequestDetail>;
declare global {
    interface GlobalEventHandlersEventMap {
        'cx-tiptap-code-block-doc-request': CxTiptapCodeBlockDocRequestEvent;
    }
}
