import { type AnchorHTMLAttributes, type ComponentType, type ReactNode } from 'react';
/**
* Register the real `next/link` so this shim delegates to it instead
* of rendering a plain ``. Call ONCE at app init in a Next.js host.
*/
export declare function registerLink(component: ComponentType): void;
declare const Link: import("react").ForwardRefExoticComponent, "href"> & {
href?: string | {
pathname?: string;
query?: Record;
};
prefetch?: boolean | null;
replace?: boolean;
scroll?: boolean;
shallow?: boolean;
passHref?: boolean;
legacyBehavior?: boolean;
locale?: string | false;
children?: ReactNode;
} & import("react").RefAttributes>;
export default Link;
//# sourceMappingURL=next-link.d.ts.map