/// <reference types="node" />
/// <reference types="react" />
import { React } from '../../common';
import * as url from 'url';
export declare type UrlLike = url.UrlObject | url.Url;
export interface ILinkProps {
    prefetch?: boolean;
    shallow?: boolean;
    scroll?: boolean;
    replace?: boolean;
    onError?(error: any): void;
    href?: string | UrlLike;
    as?: string | UrlLike;
    children?: React.ReactNode;
}
export declare const Link: (props: ILinkProps) => JSX.Element;
