import { MouseEventHandler } from 'react'; import { ClassName } from '../../utils/common.types'; export declare type CleanLinkProps = { to: string; onClick?: MouseEventHandler; /** * Is the url destination on another website. * If not set, will determine by comparing the current host to the host on the `to` prop */ external?: boolean; /** * Link rel, defaults to `noopener noreferer` if external */ rel?: string; /** * Link target, defaults to `_blank` if external */ target?: string; } & ClassName; export declare type CleanLinkComponent = React.FC;