import type { UmbLinkPickerLink, UmbLinkPickerLinkType } from '../../../multi-url-picker/index.js'; /** * The attributes of an anchor carrying the `umbLink` mark. */ export type UmbLinkAttributes = { href?: string | null; title?: string | null; target?: string | null; type?: UmbLinkPickerLinkType | null; 'data-anchor'?: string | null; 'data-culture'?: string | null; }; /** * Determines whether an href addresses an entity in this Umbraco installation rather than an arbitrary URL. * @param {string | null | undefined} href - The href to test * @returns {boolean} True when the href is a local link */ export declare function isLocalLinkHref(href: string | null | undefined): boolean; /** * Maps the attributes of an anchor onto the link model the link picker edits. * @param {UmbLinkAttributes} attrs - The attributes of the anchor, or an empty object when there is no anchor yet * @returns {UmbLinkPickerLink} The link model for the picker */ export declare function linkFromAttributes(attrs: UmbLinkAttributes): UmbLinkPickerLink;