import React, { ReactNode } from "react";
type LinkProps = {
    href: string;
    item: any;
    children: ReactNode;
    className?: string;
    target?: string;
    rel?: string;
    onClick?: (e: React.MouseEvent) => void;
};
/**
 * Universal Link component that works in both React and Next.js (including latest versions)
 * Auto-detects Next.js environment and uses the appropriate link component
 */
declare const Link: ({ item, href, children, className, target, rel, onClick, }: LinkProps) => import("react/jsx-runtime").JSX.Element;
export default Link;
