/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net */ /** * @module helpers/utils */ import type { Nullable } from "../../../types/index"; /** * The name a link reaches an anchor by: its `id`, or in older content its * `name` */ export declare function getAnchorName(anchor: HTMLAnchorElement): string; /** * An anchor: an `` with a name, no `href` and nothing in it */ export declare function isAnchor(node: Nullable): node is HTMLAnchorElement; /** * The anchors in `root`, in the order they come */ export declare function getAnchors(root: ParentNode): HTMLAnchorElement[];