import React from 'react'; import { CommonProps } from '../Element/Element'; import { CreateProps } from '../../types/utils/CreateProps'; export declare type LinkProps = CreateProps<{ /** link path */ to?: string; /** set link to open in new window */ openInNewWindow?: boolean; /** linkAdapter injects the custom link component */ linkAdapter?: LinkAdapter; /** removes the attribute rel="noopener noreferrer" */ removeRelAttribute?: boolean; }, CommonProps<'a'>, 'href' | 'target'>; export declare type LinkAttributes = LinkProps; export declare type LinkAdapterProps = { className: string; } & Omit; export declare type LinkAdapter = (props: LinkAdapterProps) => React.ReactElement; declare const Link: React.FunctionComponent; export default Link;