import { LinkProps } from "next/link"; import React, { PropsWithChildren } from "react"; export declare type TNewTabLink = React.PropsWithChildren & { className?: string; target?: string; }; declare const Link: ({ href, NewTabLink, children, className, }: React.PropsWithChildren<{ href: string; NewTabLink?: ((props: TNewTabLink) => JSX.Element) | undefined; className?: string | undefined; }>) => JSX.Element; export default Link;