/**
 * Dispatched by `cx-rich-text-link-dialog` when the user saves. The host runs TipTap link commands for the current
 * selection (`extendMarkRange`, `unsetLink`, or `insertContentAt` with link mark).
 */
export type CxRichTextLinkSaveDetail = {
    displayText: string;
    href: string;
    kind: 'apply';
    openInNewTab: boolean;
    title: string;
} | {
    kind: 'remove';
};
export type CxRichTextLinkSaveEvent = CustomEvent<CxRichTextLinkSaveDetail>;
declare global {
    interface GlobalEventHandlersEventMap {
        'cx-rich-text-link-save': CxRichTextLinkSaveEvent;
    }
}
