import type { Locale } from "@intl-t/locales"; import { LC } from "@intl-t/next/link-client"; import { ResolveHrefConfig } from "@intl-t/utils/resolvers"; import { default as NL, LinkProps as LP } from "next/link"; import type { FC, ReactNode, ComponentProps } from "react"; export type NL = typeof NL; export interface LinkConfig = NL> { Link?: LC; preventDynamic?: boolean; } export interface LinkProps = NL> extends LinkConfig, Omit { href?: string; locale?: L; currentLocale?: L; config?: ResolveHrefConfig & LinkConfig; children?: ReactNode; } export { LC }; export declare function LS>({ href, locale, currentLocale, config, Link, preventDynamic, ...props }: LinkProps & Omit, keyof LinkProps>): Promise; export declare const Link: typeof LS;