/** * This file is exposed by the /router entrypoint, and helps ensure that other * packages import the same instance of next's router. */ export { Router, useRouter, withRouter } from 'next/router'; export type { NextRouter } from 'next/router'; import { type LinkProps as NextLinkProps } from 'next/link'; import type { AnchorHTMLAttributes } from 'react'; export type LinkProps = NextLinkProps & AnchorHTMLAttributes; export declare const Link: import("react").ForwardRefExoticComponent, keyof { href: string | import("url").UrlObject; as?: string | import("url").UrlObject; replace?: boolean; scroll?: boolean; shallow?: boolean; passHref?: boolean; prefetch?: boolean | null; locale?: string | false; legacyBehavior?: boolean; onMouseEnter?: React.MouseEventHandler; onTouchStart?: React.TouchEventHandler; onClick?: React.MouseEventHandler; }> & { href: string | import("url").UrlObject; as?: string | import("url").UrlObject; replace?: boolean; scroll?: boolean; shallow?: boolean; passHref?: boolean; prefetch?: boolean | null; locale?: string | false; legacyBehavior?: boolean; onMouseEnter?: React.MouseEventHandler; onTouchStart?: React.TouchEventHandler; onClick?: React.MouseEventHandler; } & { children?: React.ReactNode; } & import("react").RefAttributes>; import NextHead from 'next/head'; export declare const Head: typeof NextHead; //# sourceMappingURL=router.d.ts.map