import { MouseEvent } from 'react'; type Navigate = (path: string) => void; /** * The click handler for an `` a component renders: a plain click on a link within the app goes * to `ConfigProvider`'s `navigate`, everything else to the browser. Call it after the consumer's own * `onClick`, so a `preventDefault()` there still wins. */ export declare function useLinkClick(): (event: MouseEvent) => void; /** Follows a link from code, where no anchor was clicked: through the router where it can. */ export declare function followHref(href: string, navigate?: Navigate): void; export declare function useFollowHref(): (href: string) => void; export {};