import { LocationDescriptor } from 'history'; import { AllStyleProps } from '../../../utils/styledSystem'; export declare const Link: (props: LinkProps) => JSX.Element; export interface LinkProps extends AllStyleProps { /** The HTML title property that will be appended to the DOM element. */ title: string; /** The id appended to the link will be 'id-link'. */ id: string; /** Standard anchor tag's href property. */ href?: string; /** The HTML download attribute that will be appended to the element. */ download?: boolean; /** Children that will be nested inside the link. */ children?: any; /** The HTML target property that will be appended to the DOM element. */ target?: string; /** If specified, will indicate the RouteLink's destination route. */ to?: LocationDescriptor; /** When `true`, clicking the link will replace the current entry in the history stack instead of adding a new one. */ replace?: boolean; /** Additional prop for adding the external link icon */ showExtIcon?: boolean; /** Function that will be executed when the link is clicked */ onClick?: Function; /** Function that will be executed when the link has focus */ onFocus?: Function; /** Function that will be executed when the link loses focus */ onBlur?: Function; }