import type { ComponentPropsWithRef } from 'react'; export type ExternalLinkProps = Omit, 'target' | 'rel'> & { /** Marks the link as leaving the page with an arrow after its text. */ icon?: boolean; /** Says "opens in a new tab" to screen readers after the text, unless false: for a link * whose own words already say so, or whose `aria-label` replaces its text. */ announce?: boolean; }; /** A link that opens in a new tab, says so to screen readers, and gives the * page it opens no hold on this one. Its href passes `safeUrl`, as every * component's does, and one that doesn't is dropped. */ export declare function ExternalLink({ href, children, icon, announce, className, ...props }: ExternalLinkProps): import("react").JSX.Element;