import * as React from "react"; import { AnchorContext } from "./AnchorContext"; interface IAnchorLinkProps { href: string; title: React.ReactNode; children?: React.ReactNode; className?: string; } declare class AnchorLink extends React.PureComponent { static defaultProps: { href: string; className: string; }; context: { anchorContext: AnchorContext; }; constructor(props: IAnchorLinkProps); componentDidMount(): void; componentDidUpdate({ href: prevHref }: IAnchorLinkProps): void; componentWillUnmount(): void; handleClick(e: React.MouseEvent): void; renderAnchorLink(value: any): JSX.Element; render(): JSX.Element; } export default AnchorLink;