import { AnchorOptionsInterface } from "./anchor-options.interface"; export declare abstract class AnchorUtility { /** * @description * Simply checks for the tag name of the element * @param {Element} element * @return {boolean} */ static isAnchorElement(element: Element): boolean; /** * @description * Checks whether a anchor is linking to an internal page or not * @param {HTMLAnchorElement} element * @return {boolean} */ static isInternalLink(element: HTMLAnchorElement): boolean; /** * @description * Returns true if the target attribute of the passed element is either empty or TARGET_SELF. * @param {HTMLAnchorElement} element * @return {boolean} */ static anchorOpensInSameWindow(element: HTMLAnchorElement): boolean; /** * @description * returns just the properties needed for the event * @param {HTMLAnchorElement} element * @return {AnchorOptionsInterface} */ static reduceAnchorToOptions(element: HTMLAnchorElement): AnchorOptionsInterface; /** * @description * Just returns allowed targets. returns a empty string if none is matching. * @param {string} target * @return {TARGET} */ private static getUnifiedElementTarget; }