import * as React from 'react';
import * as PropTypes from 'prop-types';
import { AntAnchor } from './Anchor';
import { ConfigConsumerProps } from '../config-provider';
export interface AnchorLinkProps {
    prefixCls?: string;
    href: string;
    title: React.ReactNode;
    children?: any;
    className?: string;
}
declare class AnchorLink extends React.Component<AnchorLinkProps, any> {
    static defaultProps: {
        href: string;
    };
    static contextTypes: {
        antAnchor: PropTypes.Requireable<object>;
    };
    context: {
        antAnchor: AntAnchor;
    };
    componentDidMount(): void;
    componentDidUpdate({ href: prevHref }: AnchorLinkProps): void;
    componentWillUnmount(): void;
    handleClick: (e: React.MouseEvent<HTMLElement>) => void;
    renderAnchorLink: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element;
    render(): JSX.Element;
}
export default AnchorLink;
