'use client' import React from 'react' import type { ComponentProps } from 'react' import type { NextLink } from './next-link' export type LinkCoreProps = { children: React.ReactNode } & Omit< ComponentProps, 'passHref' | 'replace' | 'legacyBehavior' > & ( | { replace?: false experimental?: undefined } | { replace: true experimental?: { nativeBehavior: 'stack-replace' isNestedNavigator: boolean } } )