import { type AriaRole, type MouseEventHandler } from 'react'; import type { AriaLabelingProps } from '../../core/types/a11y-props.js'; import type { BehaviorTrackingProps } from '../../core/types/behavior-tracking-props.js'; import type { DataTestId } from '../../core/types/data-props.js'; import type { DOMProps } from '../../core/types/dom.js'; import type { MaskingProps } from '../../core/types/masking-props.js'; import type { StylingProps } from '../../core/types/styling-props.js'; import type { WithChildren } from '../../core/types/with-children.js'; /** * The props for the ExternalLink component. * @public */ export interface ExternalLinkProps extends WithChildren, DOMProps, AriaLabelingProps, StylingProps, DataTestId, MaskingProps, BehaviorTrackingProps { /** The href used for the link. */ href: string; /** Explicit ARIA role for the rendered anchor element. */ role?: AriaRole; /** Callback handler called on click. */ onClick?: MouseEventHandler; } /** * Use the `ExternalLink` component to link to resources outside the user's current Dynatrace environment, such as Dynatrace documentation, or third-party sites. It always opens in a new tab and displays an external link icon. * @public */ export declare const ExternalLink: (props: ExternalLinkProps & import("react").RefAttributes) => import("react").ReactElement | null; //# sourceMappingURL=ExternalLink.d.ts.map