import { PropType, Ref } from 'vue'; import { SuperDocUI } from '../../../public/ui/types.js'; type LinkInputUI = Partial> & Pick; interface LinkItem { attributes?: Ref<{ href?: unknown; } | undefined>; } declare const _default: import('vue').DefineComponent unknown>; default: () => void; }; /** The shared UI controller (single command-state truth). */ ui: { type: PropType; default: null; }; /** The built-in `link` toolbar item, for current-href fallback. */ linkItem: { type: PropType; default: null; }; closePopover: { type: PropType<() => void>; default: () => void; }; href: { type: PropType; default: null; }; target: { type: PropType; default: null; }; rel: { type: PropType; default: null; }; tooltip: { type: PropType; default: null; }; clickedElement: { type: PropType; default: null; }; hyperlinkTarget: { type: PropType; default: null; }; hyperlinkText: { type: PropType; default: null; }; textTarget: { type: PropType; default: null; }; selectedText: { type: PropType; default: null; }; /** * Re-applies the toolbar's pre-interaction selection capture before the link * command runs. LinkInput executes the command directly (bypassing Toolbar.vue's * handleCommand → restoreSelection), so without this the command would wrap * whatever selection remains after the dropdown interaction instead of the text * the user highlighted. Supplied by renderLinkDropdown. */ restoreSelection: { type: PropType<() => void>; default: () => void; }; documentMode: { type: PropType; default: null; }; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly unknown>; default: () => void; }; /** The shared UI controller (single command-state truth). */ ui: { type: PropType; default: null; }; /** The built-in `link` toolbar item, for current-href fallback. */ linkItem: { type: PropType; default: null; }; closePopover: { type: PropType<() => void>; default: () => void; }; href: { type: PropType; default: null; }; target: { type: PropType; default: null; }; rel: { type: PropType; default: null; }; tooltip: { type: PropType; default: null; }; clickedElement: { type: PropType; default: null; }; hyperlinkTarget: { type: PropType; default: null; }; hyperlinkText: { type: PropType; default: null; }; textTarget: { type: PropType; default: null; }; selectedText: { type: PropType; default: null; }; /** * Re-applies the toolbar's pre-interaction selection capture before the link * command runs. LinkInput executes the command directly (bypassing Toolbar.vue's * handleCommand → restoreSelection), so without this the command would wrap * whatever selection remains after the dropdown interaction instead of the text * the user highlighted. Supplied by renderLinkDropdown. */ restoreSelection: { type: PropType<() => void>; default: () => void; }; documentMode: { type: PropType; default: null; }; }>> & Readonly<{}>, { target: string | null; href: string | null; tooltip: string | null; rel: string | null; documentMode: string | null; ui: LinkInputUI | null; textTarget: object | null; hyperlinkTarget: object | null; showInput: boolean; showLink: boolean; goToAnchor: (anchorUrl: string) => unknown; linkItem: LinkItem | null; closePopover: () => void; clickedElement: HTMLElement | null; hyperlinkText: string | null; selectedText: string | null; restoreSelection: () => void; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>; export default _default;