import { ComponentProps } from "react"; import type { RoutingStrategy } from "../routing-strategy/interface"; export type LocalizedLink = (props: LocalizedLinkProps) => ReturnType; type LocalizedLinkProps = Omit, "locale"> & { locale?: T; }; /** * Creates a link component that localises the href based on the current language. * @param languageTag A function that returns the current language tag. */ export declare function createLink(strategy: RoutingStrategy): LocalizedLink; export {};