/// <reference types="react" />
import { PlainObject, XOR } from './common/types';
interface BaseAnchorProps extends React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> {
    params?: PlainObject;
    hash?: string;
    onClick?: React.MouseEventHandler<HTMLAnchorElement>;
}
interface ForwardAnchorProps extends BaseAnchorProps {
    href: string;
    replace?: boolean;
}
interface BackAnchorProps extends BaseAnchorProps {
    goBack: boolean;
}
type AnchorProps = XOR<ForwardAnchorProps, BackAnchorProps>;
export default function Anchor(props: AnchorProps): JSX.Element;
export {};
