import type { Link } from "../LinkEditorDialog";
import type { BridgeSelectionLinkAttributes } from "../bridge/protocol";
/**
 * Builds the LinkEditorDialog value for the anchor the canvas selection is
 * inside, so re-opening the link dialog on the WYSIWYG toolbar hydrates the
 * current link the same way the form editor does. Uses the rich text
 * converter's anchor parsing, so internal-link detection (dynamic links,
 * data attributes, editor-local hrefs) cannot drift between the two editors.
 */
export declare function buildLinkValueFromBridgeAttributes(attributes: BridgeSelectionLinkAttributes | undefined): Link | null;
