/** * This file is exposed by the /router entrypoint, and helps ensure that other * packages import the same instance of next's router. */ export { createRouter, makePublicRouterInstance, Router, useRouter, withRouter } from 'next/router'; export type { NextRouter } from 'next/router'; import { LinkProps as NextLinkProps } from 'next/link'; import { AnchorHTMLAttributes } from 'react'; export declare type LinkProps = Omit & Omit, 'href'>; export declare const Link: ({ href, as, replace, scroll, shallow, prefetch, ...props }: LinkProps) => JSX.Element;