import * as React from "react"; import { LinkProps, NavLinkProps } from "react-router-dom"; export interface HashLinkProps extends LinkProps { elementId?: string | undefined; smooth?: boolean | undefined; scroll?: ((element: HTMLElement) => void) | undefined; timeout?: number | undefined; } export interface NavHashLinkProps extends NavLinkProps, Omit {} export const HashLink: React.ForwardRefExoticComponent>; export const NavHashLink: React.ForwardRefExoticComponent>; export function genericHashLink

(Component: React.FunctionComponent

): React.FunctionComponent

;