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 `<a>`. Call ONCE at app init in a Next.js host.
 */
export declare function registerLink(component: ComponentType<any>): void;
declare const Link: import("react").ForwardRefExoticComponent<Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "href"> & {
    href?: string | {
        pathname?: string;
        query?: Record<string, string>;
    };
    prefetch?: boolean | null;
    replace?: boolean;
    scroll?: boolean;
    shallow?: boolean;
    passHref?: boolean;
    legacyBehavior?: boolean;
    locale?: string | false;
    children?: ReactNode;
} & import("react").RefAttributes<HTMLAnchorElement>>;
export default Link;
//# sourceMappingURL=next-link.d.ts.map